Gimp/app/gui
Jehan 2fd4fc7c7a app: improve opening images through the DBus service.
- Set the software as `initialized` later, and in particular after all
  recovered images (from crash) then all command line images were
  opened. The reason is that the DBus calls have necessarily been made
  after GIMP was started (typically could be images double-clicked
  through GUI). We don't want them to appear before the images given in
  command line (or worse, some before and some after).
- Process DBus service's data queue as a FIFO. The image requested first
  will be loaded first.
- When a DBus call happens while GIMP is not initialized or restored,
  switch to a timeout handler. The problem with idle handlers is that
  they would be attempted too often (probably even more during startup
  when no user event happens). This is good for actions we want to
  happen reasonably quickly (like would be normally DBus calls), but not
  when we are unsure of program availability schedule (i.e. at startup).
  Here not only the handler would run a lot uselessly but it would
  likely even slow the startup down by doing so. So while GIMP is not
  initialized, switch to half-a-second timeout handler, then only switch
  back to idle handler when we are properly initialized and GIMP is
  ready to answer calls in a timely manner.

(cherry picked from commit b2649daf11)
2020-11-11 13:19:43 +01:00
..
.gitignore
dbus-service.xml
gimpdbusservice.c app: improve opening images through the DBus service. 2020-11-11 13:19:43 +01:00
gimpdbusservice.h app: improve opening images through the DBus service. 2020-11-11 13:19:43 +01:00
gimpuiconfigurer.c app, libgimp*, modules: don't use g_type_class_add_private() ... 2018-09-18 14:41:35 -04:00
gimpuiconfigurer.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gui-message.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gui-message.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gui-types.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gui-unique.c app: do not free non-allocated DBus manager. 2020-04-01 15:08:35 +02:00
gui-unique.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gui-vtable.c app: rename GimpParallelRunAsyncFunc to GimpRunAsyncFunc 2020-03-14 00:45:41 +02:00
gui-vtable.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gui.c app: s/getenv/g_getenv/ in gui_restore_after_callback() 2020-02-18 20:39:15 +01:00
gui.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
icon-themes.c app: small code cleaning. 2018-08-11 00:34:43 +02:00
icon-themes.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
Makefile.am app, devel-docs: remove dangling DBUS_GLIB_* variables. 2019-11-16 19:32:35 +01:00
session.c app: Add option in the windows menu to hide the image tab bar. 2018-10-22 20:41:29 +02:00
session.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
splash.c app: fix some glitches in the splash status text. 2020-10-26 20:18:24 +01:00
splash.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
themes.c app: add compact style for spin scales 2020-01-06 23:10:05 +02:00
themes.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00