1. 27 Jan, 2013 1 commit
  2. 17 Jul, 2012 1 commit
    • Michael Natterer's avatar
      Bug 676566 - Window title becomes "Untitled" after exporting without saving · 220b2867
      Michael Natterer authored
      Fix this and other issues more globally by moving the logic that
      formats the image's display name into the GimpImage object, and return
      the properly formatted name, e.g. "Foo.xcf", or "[Foo] (imported)"
      from gimp_image_get_display_name().
      
      Also add gimp_image_get_display_path() which returns the full path
      instead. Use the two functions for formatting the image title, and
      apply various other fixes that make sure the UI always uses the same
      string to identify the image.
      
      Call gimp_object_name_changed() whenever the save/export status
      changes, so the image's cached display name and path get cleared.
      220b2867
  3. 23 Feb, 2012 1 commit
  4. 11 Feb, 2012 1 commit
  5. 07 Feb, 2012 1 commit
  6. 30 May, 2011 1 commit
  7. 07 May, 2011 1 commit
    • Michael Natterer's avatar
      app: always add ALT+number accelerators to the image window menu items · 3b71b71c
      Michael Natterer authored
      There is no reason why we should have them only in single-window-mode.
      The accels are numbered in the order the displays are opened, which is
      also the order they appear in the menu. The only thing that needs to
      be taken care of is that switching to SWM swallows the image windows
      into the single window in the right order. Fixes bug #647524.
      3b71b71c
  8. 07 Apr, 2011 1 commit
  9. 02 Apr, 2011 1 commit
  10. 26 Jan, 2011 1 commit
  11. 20 Mar, 2010 1 commit
  12. 02 Mar, 2010 1 commit
  13. 28 Feb, 2010 1 commit
    • Martin Nordholts's avatar
      app: Introduce gimp_dialog_factory_get_singleton() · 11b1300b
      Martin Nordholts authored
      Instead of including dialogs/dialogs.h everywhere, introduce
      gimp_dialog_factory_get_singleton(). The dialog factory singleton is
      still initialized by dialogs.c though.
      
      Right now the assumption is that we never will have another dialog
      factory instance around. There were so many problems before when we
      had four of them, so let's just keep one of them around.
      11b1300b
  14. 24 Feb, 2010 1 commit
    • Martin Nordholts's avatar
      Bug 602223 - Can't hide docks with Tab in single-window mode · 18f3be6b
      Martin Nordholts authored
      Add a "hide-docks" config and connect the Windows->Hide docks menu
      item to it. Also connect the image window to the config property so it
      can hide/show its docks when it needs to.
      
      Also add and use a utility function
      gimp_image_window_keep_canvas_pos() to ensure that the image in the
      window remains fixed when toggling visiblity of docks. One problem:
      When GimpDrawTool is active on the canvas, there is flicker. The end
      position is correct though.
      
      Also add regression testing for this fix to test-ui.c
      18f3be6b
  15. 20 Feb, 2010 2 commits
    • Martin Nordholts's avatar
      app: Add Windows→Hide docks menu item · f9a2c5cf
      Martin Nordholts authored
      Add Windows→Hide docks menu item. We don't remove the hardcoding of
      having Tab trigger it though, because gtk_accelerator_valid() returns
      FALSE for GDK_tab. This means that if the user changes keyboard
      shortcut for the menu item, both the user shortcut and the hardcoded
      shortcut will work. We remove gimp_dialog_factories_toggle() and make
      clients activate the action instead to toggle dock visibility.
      f9a2c5cf
    • Martin Nordholts's avatar
      app: Merge "toplevel" and "dock" dialog factories · 8b458fb5
      Martin Nordholts authored
      Merge "toplevel" and "dock" dialog factories. The end goal is to have
      only one dialog factory.
      8b458fb5
  16. 19 Jan, 2010 1 commit
    • Martin Nordholts's avatar
      app: global_dock_window_factory -> global_dock_factory · 66197c5d
      Martin Nordholts authored
      Rename back global_dock_window_factory to
      global_dock_factory. Renaming to global_dock_window_factory was done
      under the assumption that there would be a separate factory that would
      create non-toplevel dockables, but I don't expect this to happen in
      the forseeable future.
      66197c5d
  17. 20 Dec, 2009 2 commits
  18. 06 Oct, 2009 2 commits
  19. 26 Sep, 2009 2 commits
    • Martin Nordholts's avatar
      Add a Single-window mode · 9fa51f70
      Martin Nordholts authored
      Add a single-window mode that can be toggled from 'Windows ->
      Single-window mode'. No code is yet hooked to the mode though.
      9fa51f70
    • Martin Nordholts's avatar
      app: Change GimpDialogFactory signals to "dock-window-added/removed" · 62dde84e
      Martin Nordholts authored
      Change the GimpDialogFactory signals "dock-added" and "dock-removed"
      to "dock-window-added" and "dock-window-removed". Doing this makes
      sense for a couple of reasons. First of all, the dialog factory is
      built around top-levels. Second of all, the listeners to the signals
      (such as the "recently closed docks" construct) work on a
      gtk-window-level, not a dock level.
      
      This change is a preparation for when GimpDock will stop being a
      GimpDockWindow.
      62dde84e
  20. 15 Sep, 2009 1 commit
    • Martin Nordholts's avatar
      app: Don't cast GimpDock to GimpDockWindow · e87ed66b
      Martin Nordholts authored
      In preparation for making GimpDock inherit from a non-window, stop
      casting GimpDocks to GimpDockWindows. Instead look up the toplevel
      widget for a dock and get the dock window that way.
      e87ed66b
  21. 14 Sep, 2009 1 commit
  22. 13 Sep, 2009 1 commit
    • Martin Nordholts's avatar
      Move dock window themeing to GimpDockWindow · fb99f997
      Martin Nordholts authored
      Move the dock window related themeing namely default dock heght and
      font scale from GimpDock to GimpDockWindow to get rid of yet another
      GtkWindow dependency from GimpDock.
      
      Note that this change requires gtkrc updates where "GimpDock::" needs
      to be repaced with "GimpDockWindow::".
      fb99f997
  23. 31 Aug, 2009 1 commit
  24. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      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
      d9b5207a
  25. 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
  26. 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
  27. 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
  28. 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
  29. 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
  30. 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
  31. 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
  32. 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
  33. 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
  34. 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