1. 04 Jan, 2009 1 commit
    • Martin Nordholts's avatar
      Make instance members private. · 7c964523
      Martin Nordholts authored
      * app/widgets/gimpdock.[ch]: Make instance members private.
      
      (gimp_dock_get_context)
      (gimp_dock_get_dialog_factory)
      (gimp_dock_get_dockbooks)
      (gimp_dock_get_main_vbox)
      (gimp_dock_get_vbox)
      (gimp_dock_get_id): New getters.
      
      * app/actions/actions.c
      * app/actions/dockable-actions.c
      * app/actions/dockable-commands.c
      * app/actions/windows-actions.c
      * app/menus/windows-menu.c
      * app/widgets/gimpdialogfactory.c
      * app/widgets/gimpdock.c
      * app/widgets/gimpdock.h
      * app/widgets/gimpdockable.c
      * app/widgets/gimpdockbook.c
      * app/widgets/gimpdockseparator.c
      * app/widgets/gimpimagedock.c
      * app/widgets/gimpmenudock.c
      * app/widgets/gimpsessioninfo-book.c
      * app/widgets/gimpsessioninfo-dock.c
      * app/widgets/gimpsessioninfo-dockable.c
      * app/widgets/gimptoolbox-color-area.c
      * app/widgets/gimptoolbox-dnd.c
      * app/widgets/gimptoolbox-image-area.c
      * app/widgets/gimptoolbox-indicator-area.c
      * app/widgets/gimptoolbox.c: Use new getters.
      
      svn path=/trunk/; revision=27881
      7c964523
  2. 04 Dec, 2008 1 commit
    • Sven Neumann's avatar
      also use the translation context for the tooltips. · ff6bde0a
      Sven Neumann authored
      2008-12-04  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpactiongroup.[ch]: also use the translation
      	context for the tooltips.
      
      	* app/actions/*.c: added translation context to all tooltips. 
      Also
      	improved some tooltips while I was on it.
      
      
      svn path=/trunk/; revision=27757
      ff6bde0a
  3. 03 Dec, 2008 1 commit
    • Sven Neumann's avatar
      added an extra parameter for the translation context to all · 74e76f2c
      Sven Neumann authored
      2008-12-03  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpactiongroup.[ch]: added an extra parameter for
      	the translation context to all gimp_action_group_add methods.
      
      	* app/actions/*.c: added a translation context to all action
      	labels. Also unified and improved the labels and tooltips in a 
      few
      	places.
      
      
      svn path=/trunk/; revision=27754
      74e76f2c
  4. 02 Nov, 2008 1 commit
    • Michael Natterer's avatar
      add new functions gimp_get_image_iter(), display_iter() and · a748e3f5
      Michael Natterer authored
      2008-11-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.[ch]: add new functions gimp_get_image_iter(),
      	display_iter() and tool_info_iter().
      
      	* app/tools/gimp-tools.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpvectortool.c
      	* app/dialogs/quit-dialog.c
      	* app/gui/gui.c
      	* app/menus/windows-menu.c
      	* app/actions/images-commands.c
      	* app/actions/tools-actions.c
      	* app/actions/windows-actions.c
      	* app/actions/tool-options-commands.c
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplay-foreach.c
      	* app/widgets/gimptoolbox.c
      	* tools/pdbgen/pdb/image.pdb: use them here.
      
      	* app/pdb/image-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27526
      a748e3f5
  5. 09 Oct, 2008 1 commit
    • Michael Natterer's avatar
      Add GEGL_CFLAGS and #includes as if gimpdrawable.h and gimpimage.h had a · 5503e6a0
      Michael Natterer authored
      2008-10-09  Michael Natterer  <mitch@gimp.org>
      
      	Add GEGL_CFLAGS and #includes as if gimpdrawable.h and gimpimage.h
      	had a GEGL dependency (they will have in the next commit, but I
      	wanted to keep the commit separate).
      
      	* app/dialogs/Makefile.am
      	* app/file/Makefile.am
      	* app/gui/Makefile.am
      	* app/menus/Makefile.am
      	* app/paint/Makefile.am
      	* app/plug-in/Makefile.am
      	* app/text/Makefile.am
      	* app/vectors/Makefile.am
      	* app/widgets/Makefile.am
      	* app/xcf/Makefile.am: add GEGL_CFLAGS.
      
      	* app/actions/*.c
      	* app/core/*.c
      	* app/dialogs/*.c
      	* app/display/*.c
      	* app/file/*.c
      	* app/gui/*.c
      	* app/menus/*.c
      	* app/paint/*.c
      	* app/pdb/gimppdb-utils.c
      	* app/pdb/gimpprocedure.c
      	* app/plug-in/*.c
      	* app/text/*.c
      	* app/tools/*.c
      	* app/vectors/*.c
      	* app/widgets/*.c
      	* app/xcf/*.c: add <gegl.h> or replace <glib-object.h> by <gegl.h>
      	to all files which include a drawable subclass or gimpimage.h
      
      	* tools/pdbgen/app.pl: include <gegl.h> instead of <glib-object.h>
      	in all generated files.
      
      	* app/pdb/*-cmds.c: regenerated.
      
      	* data/images/gimp-splash.png: the goat is still sleeping.
      	By Aurore Derriennic.
      
      
      svn path=/trunk/; revision=27202
      5503e6a0
  6. 21 Sep, 2008 1 commit
    • Sven Neumann's avatar
      don't set a help ID on the display menu items. · 5f8befc5
      Sven Neumann authored
      2008-09-21  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/windows-actions.c: don't set a help ID on the
      	display menu items.
      
      	* app/widgets/gimphelp-ids.h: removed now unused help ID.
      
      	* app/menus/windows-menu.c: show a larger image preview in the
      	tooltip.
      
      
      svn path=/trunk/; revision=27028
      5f8befc5
  7. 21 Jul, 2008 1 commit
    • Sven Neumann's avatar
      plugged another small memory leak. · 6f4f43e7
      Sven Neumann authored
      2008-07-21  Sven Neumann  <sven@gimp.org>
      
              * app/actions/windows-actions.c (windows_actions_dock_notify):
              plugged another small memory leak.
      
      
      svn path=/trunk/; revision=26259
      6f4f43e7
  8. 17 May, 2008 2 commits
    • Michael Natterer's avatar
      add help IDs for the stuff in the Windows menu. · a3bde5d6
      Michael Natterer authored
      2008-05-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimphelp-ids.h: add help IDs for the stuff in the
      	Windows menu.
      
      	* app/actions/windows-actions.c: use them.
      
      
      svn path=/trunk/; revision=25687
      a3bde5d6
    • Michael Natterer's avatar
      add tooltips to the menu items of open and recently closed docks. · fe395446
      Michael Natterer authored
      2008-05-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/windows-actions.c: add tooltips to the menu items of
      	open and recently closed docks.
      
      	* app/widgets/gimpaction.c: connect to "notify::tooltip" and make
      	sure gimp_help_set_help_data() gets called when the action's
      	tooltip changes.
      
      
      svn path=/trunk/; revision=25684
      fe395446
  9. 16 May, 2008 1 commit
    • Michael Natterer's avatar
      Implement the presistent menu of recently closed docks, still somewhat · ff5310a4
      Michael Natterer authored
      2008-05-16  Michael Natterer  <mitch@gimp.org>
      
      	Implement the presistent menu of recently closed docks, still
      	somewhat hackish but fully functional. Fixes bug #132744.
      
      	* app/actions/dialogs-actions.c
      	* app/actions/dialogs-commands.[ch]
      	* menus/image-menu.xml.in: remove the menu items that were
      	creating the hardcoded preconfigured docks.
      
      	* app/dialogs/dialogs.[ch]: add GimpContainer of recently closed
      	docks and API to load and save it.
      
      	* app/gui/session.c: call the recent dock load and save functions.
      
      	* app/widgets/gimpsessioninfo.[ch]: implement the GimpConfig interface
      	and (de)serialize via proper interface methods.
      
      	* app/gui/session.c
      	* app/widgets/gimpdialogfactory.c: use the GimpConfig API
      	to (de)serialize session infos and added the code that was
      	formerly in the info's (de)serialize functions but didn't belong
      	there.
      
      	* app/widgets/gimpaction.[ch]: add "max-width-chars" property and
      	set it on proxy menu item labels.
      
      	* app/actions/windows-actions.[ch]
      	* app/actions/windows-commands.[ch]
      	* app/menus/windows-menu.c: add actions and menu of recently
      	closed docks and code to restore the dock when the menu items are
      	selected. Use above new action property to ensure a minimum
      	width of the menu.
      
      	* app/widgets/gimpmenudock.c: use '-' instead of '|' for
      	separating notebooks in the window title. Menu items don't like	'|'.
      
      	* app/widgets/gimpdock.c: removed the confirmation dialog when
      	closing docks and simply add them to the recent docks container.
      	This code is totally misplaced and will move to another file soon.
      
      
      svn path=/trunk/; revision=25671
      ff5310a4
  10. 14 May, 2008 2 commits
    • Sven Neumann's avatar
      relabeled submenu to "Recently Closed Docks". · 80f2a1b1
      Sven Neumann authored
      2008-05-14  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/windows-actions.c (windows_actions): relabeled
      	submenu to "Recently Closed Docks".
      
      svn path=/trunk/; revision=25667
      80f2a1b1
    • Michael Natterer's avatar
      app/menus/windows-menu.c app/actions/windows-actions.c move the list of · 6d708832
      Michael Natterer authored
      2008-05-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/menus/windows-menu.c
      	* app/actions/windows-actions.c
      	* menus/image-menu.xml.in: move the list of dockable dialogs and
      	the list of recent docks to submenus and keep the list of open
      	image windows and docks at the "Windows" menu toplevel. The list
      	of recent docks doesn't exist yet, its contents are fake.
      
      
      svn path=/trunk/; revision=25666
      6d708832
  11. 11 May, 2008 2 commits
    • Michael Natterer's avatar
      add an "ellipsize" property that is applied to all proxy menu items' · 1e50d79b
      Michael Natterer authored
      2008-05-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpaction.[ch]: add an "ellipsize" property that is
      	applied to all proxy menu items' labels.
      
      	* app/actions/windows-actions.c: set the dock actions to
      	PANGO_ELLIPSIZE_END because their labels can be insanely long.
      
      
      svn path=/trunk/; revision=25635
      1e50d79b
    • Michael Natterer's avatar
      app/actions/windows-commands.[ch] app/actions/windows-actions.c add · 7d25d6e6
      Michael Natterer authored
      2008-05-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/windows-commands.[ch]
      	* app/actions/windows-actions.c
      	* app/menus/windows-menu.c: add dynamic actions and menu items for
      	all open docks. Present the dock when the menu item is selected.
      
      
      svn path=/trunk/; revision=25633
      7d25d6e6
  12. 10 May, 2008 3 commits
    • Michael Natterer's avatar
      renamed the "Create New Dock" submenu to simply "Docks". Its contents are · 88d8cf3c
      Michael Natterer authored
      2008-05-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/windows-actions.c: renamed the "Create New Dock"
      	submenu to simply "Docks". Its contents are about ti change soon.
      
      	* menus/image-menu.xml.in: changed accordingly. Added a "Docks"
      	placeholder inside and add the "show toolbox" menu item there.
      
      
      svn path=/trunk/; revision=25628
      88d8cf3c
    • Michael Natterer's avatar
      don't hide the empty images menu, use gimp_image_get_uri() instead of the · 6b0a5d8e
      Michael Natterer authored
      2008-05-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/windows-actions.c: don't hide the empty images menu,
      	use gimp_image_get_uri() instead of the object's name.
      
      
      svn path=/trunk/; revision=25626
      6b0a5d8e
    • Michael Natterer's avatar
      Start changing the "Dialogs" menu to "Windows", still incomplete. · b1a1da88
      Michael Natterer authored
      2008-05-10  Michael Natterer  <mitch@gimp.org>
      
      	Start changing the "Dialogs" menu to "Windows", still incomplete.
      	Addresses bug #309707.
      
      	* app/actions/Makefile.am
      	* app/actions/windows-actions.[ch]
      	* app/actions/windows-commands.[ch]: new files which currently
      	hold the "show toolbox" action and callback and new code which
      	maintains automatically generated actions for accessing (raising)
      	all open images.
      
      	* app/actions/actions.c: register the new "windows" action group.
      
      	* app/actions/dialogs-actions.c
      	* app/actions/dialogs-commands.[ch]: remove "show toolbox"
      	action and callback and also the action for the "Disalogs" menu.
      
      	* app/menus/Makefile.am
      	* app/menus/windows-menu.[ch]: new files which create and destroy
      	the menu items for the image window actions.
      
      	* app/menus/menus.c: register the "windows" action group with
      	all UI managers that have the "dialogs" action group.
      
      	* app/menus/image-menu.c (image_menu_setup): call
      	windows_menu_setup().
      
      	* app/gui/gui.c: s/dialogs_show_toolbox/windows_show_toolbox/g
      
      	* menus/image-menu.xml.in: some minor s/dialogs/windows/
      	and add the "Images" submenu.
      
      
      svn path=/trunk/; revision=25623
      b1a1da88