5f700549e7
Change the license URL from http://www.gnu.org/licenses/ to https://
2018-07-11 23:29:46 +02:00
8516aedade
app: on make check, search menu XML files in both buildir and srcdir
...
Turn GIMP_TESTING_MENUS_DIR into GIMP_TESTING_MENUS_PATH and look in
all its dirs for the menu file.
2018-07-01 19:33:51 +02:00
602dfb9a38
app: the last s/GdkDeviceManager/GdkSeat/
2018-05-20 21:06:35 +02:00
73af1873a7
app: gdk_screen_get_monitor_workarea() -> gdk_monitor_get_workarea()
2018-05-20 21:06:33 +02:00
2f1a4fdc67
app: gimp_ui_manager_ui_popup_at_pointer() and use it where appropriate
...
Only one call to gimp_ui_manager_ui_popup() left...
2018-05-20 21:06:30 +02:00
b28228d911
app: add gimp_ui_manager_ui_popup_at_widget()
...
and use it where we used to pass gimp_button_menu_position() to
gimp_ui_manager_up_popup(), remove gimp_button_menu_position() because
it's now unused.
2018-05-20 21:06:30 +02:00
e8f0c14491
app: use gdk_device_get_position() inetad of gdk_display_get_pointer()
2018-05-20 21:06:29 +02:00
3b8bcb1e4d
app: use gtk_menu_shell_get_selected_item()
2018-05-20 21:06:28 +02:00
3c8d9a1de8
app: use gtk_widget_get_preferred_size() instead of size_request()
2018-05-20 21:06:26 +02:00
aa0afe0d01
app: invoke the right action when the quick mask button is clicked
...
instead of implementing the toggling in display/. One more bit
moved to actiona/.
2016-10-01 01:06:02 +02:00
cf159ac68a
app: get rid of some GtkObject variables, makes the gtk3-port diff smaller
2014-07-21 02:34:39 +02:00
bbf01ebabf
libgimpwidgets, app: add gdk_screen_get_monitor_workarea()
...
to the gimp3migration hack and use it where appropriate, so in the
gtk3-port branch windows will not overlap with docks, panels etc.
2014-05-19 14:37:32 +02:00
aea161c9a5
app: also include <gegl.h> when we include "libgimpwidgets/gimpwidgets.h"
2013-11-01 22:28:18 +01:00
0091645129
app: remove pointless NULL checks
2013-06-16 01:31:13 +02:00
908f727f0a
Chain up unconditionally in GObject::constructed()
...
It's supported since GLib 2.28.
2012-11-12 21:51:22 +01:00
7c60bb5181
app: use more of the new GDK_KEY_foo key names
...
and move the compat defines from display-enums.h to widgets-enums.h
2011-03-29 17:24:08 +02:00
202124c438
app: implement GObject::constructed() instead of ::constructor()
2011-01-14 09:38:46 +01:00
7d54c72cfe
widgets: use gtk_widget_get_parent(menu) instead of menu->toplevel
...
because menu->toplevel is sealed. Should have the additional benefit
of also working if the menu is torn off (untested).
2010-02-11 10:34:48 +01:00
e87c77bcfc
app: Allow tests to override the menus directory
...
In order to let tests run against the source dir, allow them to
override the menus directory. Add utility functions for this and
adjust gimpuimanager.c accordingly.
2010-01-08 15:05:15 +01:00
0715c58c13
Fix the find_widget_under_pointer() code to build with GSEAL_ENABLE
2009-11-11 21:01:21 +01:00
1a23b9ecf2
Build with GSEAL_ENABLE and #undef it where accessors are missing
2009-10-17 20:20:39 +02:00
b2b2b41e62
Get rid of artificial compiler warnings
...
Get rid of artificial compiler warnings generated with the #warning
directive. They pollute the build output and don't work as incentives
for fixing stuff.
2009-07-20 12:47:59 +02:00
d5fddb5ba9
app: gimpuimanager.c formatting
2009-05-28 19:42:18 +02:00
c9674b4603
Use the new GtkAction accessors instead of g_object_get()/set()
2009-05-24 22:29:18 +02:00
7d76f25e26
Use gtk_activatable_set_related_action() instead of deprecated
...
gtk_action_connect_proxy()
2009-05-24 10:38:09 -07:00
d85fb156b5
app/widgets/gimpblobeditor.c app/widgets/gimpbrushselect.c
...
2009-03-22 Michael Natterer <mitch@gimp.org >
* app/widgets/gimpblobeditor.c
* app/widgets/gimpbrushselect.c
* app/widgets/gimpcolorbar.c
* app/widgets/gimpcolordialog.c
* app/widgets/gimpcolorframe.c
* app/widgets/gimpcontainergridview.c
* app/widgets/gimpcontainerpopup.c
* app/widgets/gimpcontainertreeview.c
* app/widgets/gimpcontrollereditor.c
* app/widgets/gimpcontrollerlist.c
* app/widgets/gimpcursor.c
* app/widgets/gimpcurveview.c
* app/widgets/gimpdasheditor.c
* app/widgets/gimpdialogfactory.c
* app/widgets/gimpdnd-xds.c
* app/widgets/gimpdockable.c
* app/widgets/gimperrordialog.c
* app/widgets/gimpfgbgeditor.c
* app/widgets/gimpfgbgview.c
* app/widgets/gimpfiledialog.c
* app/widgets/gimpfontselect.c
* app/widgets/gimpgradienteditor.c
* app/widgets/gimpgradientselect.c
* app/widgets/gimphandlebar.c
* app/widgets/gimphistogrambox.c
* app/widgets/gimphistogramview.c
* app/widgets/gimpmessagedialog.c
* app/widgets/gimpnavigationview.c
* app/widgets/gimppaletteselect.c
* app/widgets/gimppaletteview.c
* app/widgets/gimppatternselect.c
* app/widgets/gimpprogressbox.c
* app/widgets/gimpprogressdialog.c
* app/widgets/gimpscalebutton.c
* app/widgets/gimpselectiondata.c
* app/widgets/gimpsessioninfo.c
* app/widgets/gimpsettingsbox.c
* app/widgets/gimpstrokeeditor.c
* app/widgets/gimptexteditor.c
* app/widgets/gimptoolbox.c
* app/widgets/gimpuimanager.c
* app/widgets/gimpview-popup.c
* app/widgets/gimpview.c
* app/widgets/gimpviewabledialog.c
* app/widgets/gimpwidgets-utils.c: use accessors for various
members of GTK+ structures that don't exist any longer when
GSEAL_ENABLE is defined.
svn path=/trunk/; revision=28193
2009-03-22 16:35:53 +00:00
003e16dc14
formatting.
...
2009-03-05 Sven Neumann <sven@gimp.org >
* app/widgets/gimpuimanager.c: formatting.
svn path=/trunk/; revision=28113
2009-03-05 21:51:56 +00:00
b907703040
Bug 568890 – don't rely on GtkAction implementation details
...
2009-01-24 Michael Natterer <mitch@gimp.org >
Bug 568890 – don't rely on GtkAction implementation details
* app/widgets/gimpuimanager.c (gimp_ui_manager_menu_item_select):
use gtk_widget_get_action() instead of g_object_get_data(),
which relies on the name of the data key.
svn path=/trunk/; revision=27939
2009-01-24 17:50:31 +00:00
e9e48274c5
Bug 568617 – "Plase" misspelled
...
2009-01-21 Sven Neumann <sven@gimp.org >
Bug 568617 – "Plase" misspelled
* app/widgets/gimpuimanager.c: fixed typo.
svn path=/trunk/; revision=27926
2009-01-21 21:52:15 +00:00
d9b5207aa2
Change licence to GPLv3 (and to LGPLv3 for libgimp).
...
2009-01-17 Michael Natterer <mitch@gimp.org >
* all files with a GPL header and all COPYING files:
Change licence to GPLv3 (and to LGPLv3 for libgimp).
Cleaned up some copyright headers and regenerated the parsers in
the ImageMap plugin.
svn path=/trunk/; revision=27913
2009-01-17 22:28:01 +00:00
808ddd311b
try the find_widget_under_pointer() hack only if the menu item's parent is
...
2008-08-27 Michael Natterer <mitch@gimp.org >
* app/widgets/gimpuimanager.c (gimp_ui_manager_item_key_press):
try the find_widget_under_pointer() hack only if the menu item's
parent is really a GtkMenu (not a GtkMenuBar). Fixes crash spotted
by rubikcube.
svn path=/trunk/; revision=26796
2008-08-27 19:36:41 +00:00
8ea6e59970
reindent prototypes.
...
2008-08-20 Michael Natterer <mitch@gimp.org >
* app/widgets/gimpuimanager.c: reindent prototypes.
Steal find_widget_under_pointer() from gtktooltip.c
(gimp_ui_manager_item_key_press): use the function to invoke help
for the widget under the pointer if there is no selected menu
item. Makes F1 work on insensitive menu items.
svn path=/trunk/; revision=26684
2008-08-20 18:20:42 +00:00
f53ed53cdb
app/widgets/gimpactionview.c app/widgets/gimpblobeditor.c
...
2008-06-28 Michael Natterer <mitch@gimp.org >
* app/widgets/gimpactionview.c
* app/widgets/gimpblobeditor.c
* app/widgets/gimpbrushfactoryview.c
* app/widgets/gimpbrushselect.c
* app/widgets/gimpcellrendererdashes.c
* app/widgets/gimpcellrendererviewable.c
* app/widgets/gimpcolorbar.c
* app/widgets/gimpcoloreditor.c
* app/widgets/gimpcolorframe.c
* app/widgets/gimpcomponenteditor.c
* app/widgets/gimpcontainerbox.c
* app/widgets/gimpcontainergridview.c
* app/widgets/gimpcontainerpopup.c
* app/widgets/gimpcontainertreeview.c
* app/widgets/gimpcurveview.c
* app/widgets/gimpdasheditor.c
* app/widgets/gimpdatafactoryview.c
* app/widgets/gimpdock.c
* app/widgets/gimpdockable.c
* app/widgets/gimpdockseparator.c
* app/widgets/gimpfgbgeditor.c
* app/widgets/gimpfgbgview.c
* app/widgets/gimpgradienteditor.c
* app/widgets/gimphandlebar.c
* app/widgets/gimphistogrambox.c
* app/widgets/gimphistogramview.c
* app/widgets/gimpitemtreeview.c
* app/widgets/gimpmenudock.c
* app/widgets/gimpmessagebox.c
* app/widgets/gimppaletteview.c
* app/widgets/gimpscalebutton.c
* app/widgets/gimpsessioninfo-book.c
* app/widgets/gimpsessioninfo-dock.c
* app/widgets/gimpsettingseditor.c
* app/widgets/gimpstrokeeditor.c
* app/widgets/gimptemplateeditor.c
* app/widgets/gimptemplateview.c
* app/widgets/gimpthumbbox.c
* app/widgets/gimptoolbox.c
* app/widgets/gimptooloptionseditor.c
* app/widgets/gimptoolview.c
* app/widgets/gimpuimanager.c
* app/widgets/gimpviewabledialog.c
* app/widgets/gimpviewrenderervectors.c
* app/widgets/gimpwidgets-utils.c: use accessors instead of
accessing members of GTK+ widgets directly.
svn path=/trunk/; revision=26008
2008-06-28 15:50:27 +00:00
f53e9a45db
Latest GTK+ trunk deprecations showed some uglyness in gimp:
...
2008-06-20 Michael Natterer <mitch@gimp.org >
Latest GTK+ trunk deprecations showed some uglyness in gimp:
* app/tools/gimpeditselectiontool.h: we were still using GTK_CHECK
macros here, use proper G_TYPE type checking instead.
* app/widgets/gimpuimanager.c
* app/widgets/gimpdockable.c: s/GtkDestroyNotify/GDestroyNotify/.
* plug-ins/help-browser/gimpthrobber.c: s/GtkType/GType/.
* plug-ins/common/filter-pack.c
* plug-ins/common/sample-colorize.c
* plug-ins/imagemap/imap_main.c: s/GtkSignalFunc/GCallback/.
svn path=/trunk/; revision=25965
2008-06-20 11:08:42 +00:00
769c4f925a
app/core/gimp-gui.[ch] app/widgets/gimphelp.[ch] app/gui/gui-vtable.c
...
2008-06-10 Sven Neumann <sven@gimp.org >
* app/core/gimp-gui.[ch]
* app/widgets/gimphelp.[ch]
* app/gui/gui-vtable.c
* app/gui/gui.c: added a GimpProgress parameter to gimp_help().
* app/actions/help-commands.c
* app/widgets/gimpuimanager.c
* tools/pdbgen/pdb/help.pdb: changed accordingly.
* app/pdb/help-cmds.c: regenerated.
svn path=/trunk/; revision=25908
2008-06-10 09:54:54 +00:00
cba937480e
gracefully deal with a NULL return value from gtk_ui_manager_get_widget().
...
2008-01-10 Sven Neumann <sven@gimp.org >
* app/widgets/gimpuimanager.c (gimp_ui_manager_ui_popup):
gracefully deal with a NULL return value from
gtk_ui_manager_get_widget(). This happens when the XML menu
definitions are not found.
svn path=/trunk/; revision=24594
2008-01-10 22:17:28 +00:00
af350d89e6
app/widgets/gimphelp.c app/widgets/gimpuimanager.c
...
2007-05-22 Sven Neumann <sven@gimp.org >
* app/widgets/gimphelp.c
* app/widgets/gimpuimanager.c
* app/widgets/gimpview-popup.c
* app/widgets/gtkwrapbox.c: use GSlice to allocate structs.
svn path=/trunk/; revision=22572
2007-05-22 15:14:41 +00:00
6e422b5211
Statusbar messages shouldn't depend on the emission of unrelated signals:
...
2007-03-31 Michael Natterer <mitch@gimp.org >
Statusbar messages shouldn't depend on the emission of unrelated
signals:
* app/widgets/gimpuimanager.c (gimp_ui_manager_connect_proxy):
connect to the menu items' "select" and "deselect" signals here...
(gimp_ui_manager_item_realize): ...instead of here.
svn path=/trunk/; revision=22206
2007-03-31 12:25:03 +00:00
50fabff948
added new function gimp_ui_manager_activate_action() as a shortcut for
...
2006-12-15 Sven Neumann <sven@gimp.org >
* app/widgets/gimpuimanager.[ch]: added new function
gimp_ui_manager_activate_action() as a shortcut for looking up the
action and activating it.
* app/actions/dialogs-actions.c
* app/display/gimpdisplayshell-close.c
* app/widgets/gimpcolormapeditor.c
* app/widgets/gimpitemtreeview.c
* app/widgets/gimppaletteeditor.c
* app/widgets/gimptoolbox.c
* app/widgets/gimptooloptionseditor.c: use the new function.
* app/actions/file-commands.c
* app/dialogs/file-save-dialog.c: minor code cleanup.
2006-12-15 12:03:47 +00:00
41237259c9
In all files, changed the standard copyright notice to say "GIMP - The GNU
...
2006-12-09 Sven Neumann <sven@gimp.org >
* In all files, changed the standard copyright notice to say
"GIMP - The GNU Image Manipulation Program".
2006-12-09 21:33:38 +00:00
1ed8dd4f53
app/actions/data-commands.c app/actions/documents-commands.c
...
2006-10-09 Michael Natterer <mitch@gimp.org >
* app/actions/data-commands.c
* app/actions/documents-commands.c
* app/actions/drawable-commands.c
* app/actions/gradients-commands.c
* app/actions/image-commands.c
* app/actions/layers-commands.c
* app/actions/palettes-commands.c
* app/actions/select-commands.c
* app/actions/vectors-commands.c
* app/core/gimp-contexts.c
* app/core/gimp-documents.c
* app/core/gimp-edit.c
* app/core/gimp-modules.c
* app/core/gimp-parasites.c
* app/core/gimp-templates.c
* app/core/gimp-units.c
* app/core/gimpchannel.c
* app/core/gimpdatafactory.[ch]
* app/core/gimpdrawable-bucket-fill.c
* app/core/gimpimage-merge.c
* app/core/gimpimagefile.c
* app/core/gimplayer-floating-sel.c
* app/core/gimppdbprogress.c
* app/core/gimpselection.c
* app/dialogs/palette-import-dialog.c
* app/display/gimpdisplayshell-dnd.c
* app/gui/session.c
* app/gui/themes.c
* app/pdb/gimpprocedure.c
* app/plug-in/gimpplugin-message.c
* app/plug-in/gimpplugin.c
* app/plug-in/gimppluginmanager-file.c
* app/plug-in/gimppluginmanager.c
* app/text/gimptextlayer-xcf.c
* app/text/gimptextlayer.c
* app/widgets/gimpcontrollers.c
* app/widgets/gimpdataeditor.c
* app/widgets/gimpdevices.c
* app/widgets/gimpdnd-xds.c
* app/widgets/gimplayertreeview.c
* app/widgets/gimptoolbox-dnd.c
* app/widgets/gimptoolbox.c
* app/widgets/gimpuimanager.c
* app/widgets/gimpvectorstreeview.c
* tools/pdbgen/pdb/brush.pdb
* tools/pdbgen/pdb/gradient.pdb
* tools/pdbgen/pdb/palette.pdb: convert lots of g_message() to
gimp_message(). Make sure we never pass unknown strings (like
error->message) to printf-like functions directly; run them
thorugh "%s" instead. Don't translate some messages which should
never happen.
* app/pdb/brush_cmds.c
* app/pdb/gradient_cmds.c
* app/pdb/palette_cmds.c: regenerated.
2006-10-09 18:49:15 +00:00
6feb7bb82c
depend on glib >= 2.10.2, gtk+ >= 2.8.18 and pango >= 1.12.3. Define
...
2006-07-05 Michael Natterer <mitch@gimp.org >
* configure.in: depend on glib >= 2.10.2, gtk+ >= 2.8.18
and pango >= 1.12.3. Define FOO_DISABLE_DEPRECATED also for
glib 2.12, gtk+ 2.10 and pango 2.14
* app/sanity.c
* app/gui/gui.c: adjusted sanity checks accordingly.
* app/dialogs/stroke-dialog.c
* app/widgets/gimpeditor.c
* app/widgets/gimpuimanager.c
* libgimpwidgets/gimphelpui.c
* libgimpwidgets/gimpmemsizeentry.c
* plug-ins/helpbrowser/gimpthrobber.c: replace gtk_object_sink()
by combinations of g_object_ref_sink() and g_object_unref().
2006-07-05 13:40:47 +00:00
6ebcf700d1
removed erroneous semicolon after G_DEFINE_TYPE macros.
...
2006-05-15 Sven Neumann <sven@gimp.org >
* app/*/*.c:
* lib*/*.c: removed erroneous semicolon after G_DEFINE_TYPE macros.
2006-05-15 09:46:31 +00:00
049872b361
app/*.[ch] converted tabs to spaces.
...
2006-04-12 Sven Neumann <sven@gimp.org >
* app/*.[ch]
* app/*/*.[ch]: converted tabs to spaces.
2006-04-12 12:49:29 +00:00
a8cf1cfa9d
connect to the menu items' "select" and "deselect" signals instead of
...
2006-03-10 Michael Natterer <mitch@gimp.org >
* app/widgets/gimpuimanager.c: connect to the menu items' "select"
and "deselect" signals instead of "enter-notify-event" and
"leave-notify-event", so tooltips work with keynav.
2006-03-10 10:05:38 +00:00
6a01bb2306
added "show-tooltip" and "hide-tooltip" signals. Connect to each menu
...
2006-03-09 Michael Natterer <mitch@gimp.org >
* app/widgets/gimpuimanager.[ch]: added "show-tooltip" and
"hide-tooltip" signals. Connect to each menu item's
enter-notify-event and leave-notify-event. On enter, emit
show-tooltip, on leave emit hide-tooltip.
* app/display/gimpdisplayshell.c: connect to the menubar ui
manager's show-tooltip and hide-tooltip signals and show the tip
in the display's status bar.
2006-03-09 15:26:33 +00:00
e1ceed5147
define GIMP_PARAM_STATIC_STRINGS which is G_PARAM_STATIC_NAME|NICK|BLURB.
...
2006-01-18 Michael Natterer <mitch@gimp.org >
* app/config/config-types.c: define GIMP_PARAM_STATIC_STRINGS
which is G_PARAM_STATIC_NAME|NICK|BLURB. Also define
GIMP_PARAM_READABLE, _WRITABLE and _READWRITE which include
GIMP_PARAM_STATIC_STRINGS.
* app/*/*.c: use them for all object properties so their
strings are not copied.
2006-01-18 20:29:40 +00:00
61df53ec54
port to G_DEFINE_TYPE() and friends. Some related cleanup.
...
2005-12-19 Michael Natterer <mitch@gimp.org >
* app/widgets/*.c: port to G_DEFINE_TYPE() and friends. Some
related cleanup.
2005-12-19 22:37:49 +00:00
39f4e7bdb3
applied patch from Robert Ögren that frees the event returned by
...
2005-08-06 Michael Natterer <mitch@gimp.org >
* app/widgets/gimpuimanager.c (gimp_ui_manager_ui_popup): applied
patch from Robert Ögren that frees the event returned by
gtk_get_current_event(). Fixes bug #312017 .
2005-08-06 14:37:53 +00:00
93eab43eef
Use the canonical form for signal names.
...
2005-05-27 Sven Neumann <sven@gimp.org >
* (lots of files): Use the canonical form for signal names.
2005-05-27 16:51:39 +00:00