Commit Graph

1259 Commits

Author SHA1 Message Date
5cea6b067f Alias the icon for mouse controller to gimp-cursor for now 2011-04-06 23:49:34 +02:00
ac403ce11d Add a controller for binding mouse buttons 2011-04-06 23:35:14 +02:00
3eb096b239 Revert "libgimpwidgets: avoid using a function only available since GTK+ 2.22"
We depend on GTK+ 2.24 now.

This reverts commit 0e55c5e4d8.
2011-04-06 20:19:09 +02:00
24ee3370b8 Depend on GTK+ >= 2.24.3, cairo >= 1.20.1, gdk-pixbuf >= 2.22.1
and completely separate configure and sanity checks for gdk-pixbuf
from GTK+, because it's now distributed as a separate package. Remove
all sorts of conditional compiling based on GDK_CHECK_VERSION() and
CAIRO_VERSION.
2011-04-06 19:58:24 +02:00
384689b761 libgimpwidgets: add a private struct to GimpDialog and use it for help stuff
and remove all g_object_get/set_data() hacks.
2011-03-20 13:21:59 +01:00
c469dbb206 libgimpwidgets: turn GimpDialog's "parent" into a property
and remove the parent peoperty from GimpViewableDialog.
2011-03-20 12:44:03 +01:00
c6e35435ad libgimpwidgets: don't treat -1 as value of enum PangoAttrType 2011-03-17 15:28:41 +01:00
b725eaa682 libgimpwidgets: don't mix GimpWidgetHelpType and GtkWidgetHelpType
Because latest GCC warns about it.
2011-03-17 14:41:34 +01:00
fcfb7cf160 Use the new g_[s]list_free_full() instead of foreach() and free() 2011-03-07 17:11:28 +01:00
ca1cc32e52 libgimpwidgets: use GtkComboBoxText when building against GTK+ >= 2.24 2011-03-06 11:51:24 +01:00
5dcb50ed7d libgimpwidgets: add properties GimpEnumLabel:enum-type and :enum-value 2011-02-15 21:26:11 +01:00
31b4d3801e libgimpwidgets: add properties GimpColorButton:area-width and :area-height 2011-02-15 20:55:32 +01:00
e44d3b46ef libgimpwidgets: make GimpColorScale:channel a property 2011-02-15 18:52:00 +01:00
6c7e24c9b3 libgimpwidgets: don't draw a focus line to indicate "selected"
I have no idea what I was thinking when adding this.
2011-02-09 09:25:34 +01:00
4fd56d9640 libgimpwidgets: don't pass around uninitialized memory in GimpRuler 2011-02-06 11:20:07 +01:00
0cbb8ac0bf libgimpwidgets: Update gimpwidgets.def 2011-01-26 06:33:10 +01:00
835d92e4ad libgimpwidgets: Fix gtk-doc warning 2011-01-26 06:26:36 +01:00
5cae0bf65c Bug 630748 - display filters do not work
Create and use Cairo-compatible API for display filters. Also
includes logic changes to the display filters to deal with cairo's
ARGB32 pre-multiplied buffer format.
2011-01-25 20:24:42 +01:00
14276add92 Add missing parens around macro arguments 2011-01-24 22:15:06 +01:00
3ef31e4cc8 libgimpwidgets: use new GdkWindow API only when available 2011-01-23 00:30:58 +01:00
d155be622d libgimpwidgets: fix ruler motion event tracking on offscreen overlays
Add a list of "track widgets" to GimpRuler and connect to their
motion-notify-event. Correctly translate the motion event's x/y to the
ruler's coordinate system when updating the marker.
2011-01-20 20:26:35 +01:00
8d2d16ac25 libgimp*: implement GObject::constructed() instead of ::constructor() 2011-01-12 22:03:33 +01:00
413dc0331d libgimpwidgets: don't call gtk_dialog_set_has_separator()
It's deprecated in GTK+ 2.22. Instead use g_object_set() and add a
comment as reminder to remove that too later.
2011-01-08 21:58:21 +01:00
73b5e1d8a6 libgimpwidgets: remove commented-out code 2011-01-07 19:38:34 +01:00
60ebedb319 libgimpwidgets: no need to set a GtkRange's update-policy to CONTINUOUS
because it's the default.
2011-01-07 15:06:56 +01:00
0e55c5e4d8 libgimpwidgets: avoid using a function only available since GTK+ 2.22 2010-12-18 00:31:56 +01:00
780579554a libgimpwidgets: undef GDK_DISABLE_DEPRECATED in gimppixmap.c 2010-12-17 22:59:50 +01:00
2471f37660 libgimpwidgets: port the ruler from deprecated gdk to cairo
Backported from the gtk3-port branch.
2010-12-17 22:59:49 +01:00
644a272f19 libgimpwidgets: port gimppreviewarea from deprecated gdk to cairo
Backported from the gtk3-port branch.
2010-12-17 22:59:46 +01:00
4a4994f4db libgimpwidgets: bring back unit format strings in GimpSizeEntry
Use the user-provided format string as long-format and try to create a
short-format by replacing "%s" and "%p" by "%a" for the popup. Works
nicely for all cases I've seen so far.
2010-11-05 16:30:23 +01:00
73a6ddf7b5 libgimpwidgets: use the short and long format strings for the unit combo
where the short one gets used for the combo itself, and the long one
for the popup.
2010-11-05 16:28:54 +01:00
e821cd4881 libgimpwidgets: add "short-format" and "long-format" properties
which have the are format strings for gimp_unit_format_string(). The
formatted strings are kept in the respective new model columns.
2010-11-05 16:26:58 +01:00
dfd5470a2e Merge remote branch 'origin/master' into soc-2010-cage-2 2010-11-04 20:00:36 +02:00
27c77e6a5e Merge branch 'master' into soc-2010-cage-2 2010-11-04 00:41:45 +02:00
7796760908 libgimpwidgets: style cleanup 2010-10-31 22:15:52 +01:00
b76df39f06 libgimpwidgets: use gimp_unit_format_string() in GimpUnitMenu 2010-10-31 22:11:32 +01:00
dbf1d49efe libgimpwidgets: let the size entry's spinbutton fill the available space
so we at least get a nice layout if the spinbuttons have different
sizes. Makes the tool options look a bit less ugly.
2010-10-31 16:45:49 +01:00
be3ebbb65c libgimpwidgets: tooltips no longer require an event box around no-window widgets 2010-10-31 16:30:03 +01:00
5bc3317b5a libgimpwidgets: fix the new prop_unit_combo_box to work like the oly unit menu
- don't forget to set the initial value
- set has_pixels and has_percent on the unit store from the param spec
2010-10-30 19:39:31 +02:00
79f0f5639b Don't use gtk_container_add() for adding to GtkBoxes
because the packing options are different for GtkH/VBox and GtkBox
itself which is now instantiable. Instead, always use
gtk_box_pack_start() and specify expanding explicitely.
2010-10-30 14:57:56 +02:00
9e28a0406b libgimpwidgets: use accessors for GtkAdjustment members
so it builds with GSEAL_ENABLE. Also keep around the adjustments as
GtkAdjustment not GtkObject to avoid casting all the time.
2010-10-19 18:38:00 +02:00
d831b9a353 libgimpwidgets: fix GimpFrame's child allocation for GSEAL_ENABLE
Don't override GtkFrame::compute_child_allocation() because we
completely override all functions that call this virtual function
anyway. Consequently, there is no need to store the child's allocation
in the sealed frame->child_allocation.
2010-10-18 16:40:47 +02:00
0ff751fd2d Sort gimpwidgets.def entries 2010-10-16 11:53:50 +05:30
8b57945ebb Convert spaces to tab in def file 2010-10-16 11:48:48 +05:30
c7f36d1546 Add missing symbols to gimpwidgets.def 2010-10-16 11:48:23 +05:30
47c6b25f23 libgimpwidgets: transform the cr to widget coords
Get rid of allocation.foo and also kill all the rectangle intersection
that are not really optimizations on such a small widget.
2010-10-15 11:09:47 +02:00
3584b662a6 libgimpwidgets: transform the cr to widget coords
and get rid if all the allocation.x and .y
2010-10-15 10:40:37 +02:00
1de338ea9d libgimpwidgets: port the GimpChainButton lines to cairo
A proper two-pixel line in FG color looks a lot less shabby...
2010-10-15 10:35:28 +02:00
84274e2230 libgimpwidgets: implement GObject::dispose() instead of GtkObject::destroy() 2010-10-15 02:34:29 +02:00
b67dbdc6ca libgimpwidgets: implement GObject::dispose() instead of GtkObject::destroy() 2010-10-15 02:25:51 +02:00