1. 25 Sep, 2008 1 commit
    • Sven Neumann's avatar
      added a 'restored' flag to the Gimp object and set it in · 95cd081d
      Sven Neumann authored
      2008-09-25  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimp.[ch]: added a 'restored' flag to the Gimp object
      	and set it in gimp_real_restore(). Added method 
      gimp_is_restored().
      
      	* app/gui/gui.c: call gui_unique_init() in gui_init() instead of
      	that later in gui_restore_after_callback(). By doing so we start
      	our DBus service (or message proxy window on Win32) much earlier
      	in the start process, thus reducing the time frame where two
      	instances of gimp can be launched.
      
      	* app/gui/gui-unique.c
      	* app/gui/gimpdbusservice.c: wait handling the queued file-open
      	requests until gimp is fully restored.
      
      	* app/gui/splash.c (splash_update): only run one iteration of 
      the
      	main loop. Doing it in a while loop can cause us to get stuck if
      	the gimp-unique service already added an idle handler.
      
      
      svn path=/trunk/; revision=27049
      95cd081d
  2. 06 Aug, 2008 1 commit
    • Sven Neumann's avatar
      minor cleanups. · 597dc249
      Sven Neumann authored
      2008-08-06  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/gimpdbusservice.c: minor cleanups.
      
      
      svn path=/trunk/; revision=26398
      597dc249
  3. 05 Aug, 2008 3 commits
  4. 13 Jul, 2008 1 commit
    • Sven Neumann's avatar
      app/widgets/Makefile.am app/widgets/gimpdbusservice.[ch] removed here ... · f56bc849
      Sven Neumann authored
      2008-07-13  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpdbusservice.[ch]
      	* app/widgets/dbus-service.xml: removed here ...
      
      	* app/gui/Makefile.am
      	* app/gui/gimpdbusservice.[ch]
      	* app/gui/dbus-service.xml: ... and moved here.
      	(gimp_dbus_service_activate): raise the first display instead of
      	the toolbox.
      
      	* app/gui/gui-unique.c (gui_unique_win32_idle_open): same change
      	here, raise the display instead of the toolbox.
      
      	* app/unique.c: changed accordingly.
      
      
      svn path=/trunk/; revision=26184
      f56bc849
  5. 28 Jun, 2008 1 commit
  6. 21 Apr, 2007 1 commit
  7. 17 Apr, 2007 1 commit
    • Sven Neumann's avatar
      Allow other applications to open images in GIMP as if they were new images · 49b8176a
      Sven Neumann authored
      2007-04-17  Sven Neumann  <sven@gimp.org>
      
      	Allow other applications to open images in GIMP as if they were
      	new images (without associating a filename). Fixes bug #423118.
      
      	* app/file/file-open.[ch]: added parameter 'as_new' to
      	file_open_image() and its variants.
      
      	* app/actions/data-commands.c
      	* app/actions/documents-commands.c
      	* app/actions/file-commands.c
      	* app/core/gimpimagefile.c
      	* app/dialogs/file-open-dialog.c
      	* app/dialogs/file-open-location-dialog.c
      	* app/widgets/gimptoolbox.c
      	* app/widgets/gimptoolbox-dnd.c: changed accordingly.
      
      	* app/app.[ch]
      	* app/main.c: added new command-line option '--as-new'.
      
      	* app/widgets/gimpdbusservice.[ch]
      	* app/widgets/dbus-service.xml: added new method "OpenAsNew" to the
      	D-Bus interface.
      
      	* docs/gimp.1.in: document the new command-line option.
      
      
      svn path=/trunk/; revision=22264
      49b8176a
  8. 27 Mar, 2007 2 commits
  9. 22 Jan, 2007 2 commits
    • Sven Neumann's avatar
      added Activate method. · 4c5cfb61
      Sven Neumann authored
      2007-01-23  Sven Neumann  <sven@gimp.org>
      
              * app/widgets/dbus-service.xml: added Activate method.
      
              * app/widgets/gimpdbusservice.[ch]: raise the toolbox from the
              Activate method. Do nothing when no URIs are passed
      
              * app/main.c: try the Activate method on the org.gimp.GIMP 
      service
              when being called without any filenames on the command-lines.
      
      
      svn path=/trunk/; revision=21761
      4c5cfb61
    • Sven Neumann's avatar
      added utility function that handles opening files passed on the · 6414b2ea
      Sven Neumann authored
      2007-01-22  Sven Neumann  <sven@gimp.org>
      
      	* app/file/file-open.[ch]: added utility function that handles
      	opening files passed on the command-line.
      
      	* app/app_procs.c
      	* app/widgets/gimpdbusservice.c: use the new function instead of
      	duplicating the code.
      
      
      svn path=/trunk/; revision=21759
      6414b2ea
  10. 19 Jan, 2007 1 commit
    • Sven Neumann's avatar
      INSTALL check for D-Bus GLib bindings. · bfd1dd5f
      Sven Neumann authored
      2007-01-19  Sven Neumann  <sven@gimp.org>
      
      	* INSTALL
      	* configure.in: check for D-Bus GLib bindings.
      
      	* app/Makefile.am
      	* app/main.c: check if an interactive GIMP instance proposes
      	itself on the D-Bus and delegate to it. Allow this behaviour to be
      	overridden by using the --new-instance command-line option.
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpdbusservice.[ch]
      	* app/widgets/dbus-service.xml: added an object that offers a
      	D-Bus service.
      
      	* app/gui/Makefile.am
      	* app/gui/gui.c: connect to the D-Bus and export the GimpDBusService.
      
      
      svn path=/trunk/; revision=21737
      bfd1dd5f