1. 23 Jun, 2004 1 commit
    • Michael Natterer's avatar
      app/widgets/gimpenumaction.[ch] app/widgets/gimppluginaction.[ch] added · 1ce16fef
      Michael Natterer authored
      2004-06-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpenumaction.[ch]
      	* app/widgets/gimppluginaction.[ch]
      	* app/widgets/gimpstringaction.[ch]: added parameters to the
      	gimp_*_action_selected() function so the "selected" signal can be
      	emitted with value != action->value. Changed GtkAction::activate()
      	implementations accordingly (pass action->value).
      
      	* app/widgets/gimpcontrollers.c: call gimp_enum_action_selected()
      	and pass the value of the GimpControllerEventValue instead of
      	temporarily replacing action->value and calling
      	gtk_action_activate().
      
      	* app/widgets/gimpcontrollerinfo.c: fixed debugging output.
      1ce16fef
  2. 19 May, 2004 1 commit
    • Michael Natterer's avatar
      app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass · 2849cf23
      Michael Natterer authored
      2004-05-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpaction.[ch]: new GtkAction subclass which can
      	show either a color or viewable preview in GtkImageMenuItem
      	proxies.
      
      	* app/widgets/gimpenumaction.[ch]
      	* app/widgets/gimppluginaction.[ch]
      	* app/widgets/gimpstringaction.[ch]: derive them from GimpAction.
      
      	* app/widgets/gimpactiongroup.c (gimp_action_group_add_actions):
      	add GimpActions, not GtkActions.
      
      	(gimp_action_group_set_action_color)
      	(gimp_action_group_set_action_viewable): removed all hacks and
      	simply set the "color" or "viewable" properties of the GimpAction
      	to change. Fixes color/viewable previews in menus.
      
      	* app/actions/file-actions.c: show previews in the "Open Recent"
      	menu items.
      
      	Unrelated:
      
      	* app/widgets/widgets-types.h: removed GimpDockedInterface typedef...
      
      	* app/widgets/gimpdocked.h: ...and added it here. We don't have
      	class struct typedefs in the types header either.
      
      	* app/actions/edit-actions.c: added <Ctrl>+semicolon as shortcut
      	for "edit-fill-pattern".
      
      	* app/actions/gradient-editor-actions.c: added some stock IDs.
      	Please comment.
      2849cf23
  3. 16 Apr, 2004 1 commit
    • Michael Natterer's avatar
      new marshaller VOID:STRING · 537b8747
      Michael Natterer authored
      2004-04-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpmarshal.list: new marshaller VOID:STRING
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpactiongroup.[ch]
      	* app/widgets/gimpenumaction.[ch]
      	* app/widgets/gimpstringaction.[ch]: added some completely unused
      	GtkAction infrastructure.
      537b8747