Commit Graph

1282 Commits

Author SHA1 Message Date
bc4fa9a8c4 libgimpwidgets: support GtkCellRendererToggle's "inconsistent" state
and strike out GimpCellRendererToggle's icon in the inconsistent case.
2011-09-23 23:42:09 +02:00
989ac15a97 Bug 659348 - Provide a translation comment for "Empty" 2011-09-23 22:45:32 +02:00
d92cd2f6c8 Add gimp_button_event_triggers_context_menu() and use it
instead of checking for event->button == 3, so context menus
work correctly on the Mac. Didn't change the image menu yet
because thet requires some more refactoring.
2011-09-19 00:47:23 +02:00
9c6338900e libgimp*: don't derive from GtkHBox and GtkVBox in libgimp either
I know this is not 100% compatible, but is in fact absolutely safe to
change unless somebody is using the headers in ways that are totally
wrong.
2011-07-27 19:53:34 +02:00
c39ca0f74f Initialize two GtkTreeIter
to avoid harmless, but annoying, valgrind warnings on x86_64
2011-06-17 19:02:08 +02:00
05cd8670c3 libgimpwidgets: deprecate gimp_toggle_button_sensitive_update()
Use g_object_bind_property() instead.
2011-05-11 22:13:33 +02:00
c35ff719a7 app/libgimp*: remove stuff found by -Wunused-but-set-variable 2011-05-01 23:23:19 +02:00
2b1807054f libgimp*: update .def files after cairo functions moved between libs 2011-05-01 11:24:26 +02:00
1de19c8b57 libgimpwidgets: clean up class struct and add gtk-doc section comment 2011-04-28 17:57:40 +02:00
cc47b2a600 libgimpwidgets/color: move the cairo color utility functions to libgimpcolor
Add CAIRO_CFLAGS to a lot of Makefiles to make this possible, and
because they pull in cairo via the libgimp headers.
2011-04-28 15:50:39 +02:00
268930f489 libgimpwidgets: gimp_pixmap_button_new, gimp_unit_menu_update -> gimpoldwidgets
where they belog. gimp_unit_menu_update() is newly deprecated.
2011-04-28 14:53:49 +02:00
844df2b4df libgimp*: add guards that #error out if individual files are included
This only helps to maintain proper includes in app/ and shouldn't
affect plug-ins at all, because these are supposed to only include the
main headers from libgimp/ since the beginning of time.

The gimpfootypes.h files do not have these guards, so we can continue
to maintain app/'s include policy that is very likely to error out if
wrong things are included.
2011-04-28 14:30:41 +02:00
7c879dfa99 libgimpwidgets: Add back gtk-doc comment for @stack 2011-04-27 06:10:14 +05:30
4f96dd311e libgimpwidgets: Remove incorrect gtk-doc 2011-04-25 19:35:35 +05:30
d04efe3a03 libappwidgets: Initialize arrays before use 2011-04-25 19:34:02 +05:30
27db4d9fc0 libgimpwidgets: Fix typo in array index 2011-04-25 19:32:08 +05:30
a31d8dab79 Revert "libgimpwidgets: Don't use light[3] and dark[3] as they're both uninitialized"
This reverts commit a0ff981041.
2011-04-25 19:29:55 +05:30
d272159194 libgimpwidgets: use gdk_cairo_set_source_window() instead of source_pixmap() 2011-04-22 00:44:32 +02:00
a0ff981041 libgimpwidgets: Don't use light[3] and dark[3] as they're both uninitialized
This also removes the bogus double assignment to l[2].
2011-04-21 14:22:13 +05:30
59ea89234f app: GimpRuler: clip position marker drawing to the ruler's allocation
so we don't overdraw when drawing out of expose.
2011-04-20 00:31:59 +02:00
7e6c026790 Globally use GDK_KEY_foo, remove the compat defines from widgets-enums.h 2011-04-11 23:43:03 +02:00
3440f8c7e8 libgimpwidgets: no need any longer to set GtkDialog:has-separator to FALSE 2011-04-11 23:19:27 +02:00
c215677876 libgimpwidgets: turn GimpRuler into a no-window widget
and use an input-only window for events.
2011-04-10 02:00:40 +02:00
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