[gthumb] call gdk_notify_startup_complete before showing the windows
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] call gdk_notify_startup_complete before showing the windows
- Date: Sun, 2 Mar 2014 12:15:50 +0000 (UTC)
commit 22de372473f7745cd1b6ac07b744070eb6687207
Author: Paolo Bacchilega <paobac src gnome org>
Date: Mon Feb 17 13:01:02 2014 +0100
call gdk_notify_startup_complete before showing the windows
gthumb/main.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/gthumb/main.c b/gthumb/main.c
index 526a84b..9157121 100644
--- a/gthumb/main.c
+++ b/gthumb/main.c
@@ -318,6 +318,8 @@ gth_application_command_line (GApplication *application,
}
g_option_context_free (context);
+ gdk_notify_startup_complete ();
+
/* exec the command line */
if (ImportPhotos) {
@@ -326,7 +328,6 @@ gth_application_command_line (GApplication *application,
if (remaining_args != NULL)
location = g_file_new_for_commandline_arg (remaining_args[0]);
import_photos_from_location (location);
- gdk_notify_startup_complete ();
return 0;
}
@@ -346,7 +347,6 @@ gth_application_command_line (GApplication *application,
file_to_select = NULL;
open_browser_window (location, file_to_select, TRUE);
- gdk_notify_startup_complete ();
_g_object_unref (file_to_select);
g_free (file_to_select_uri);
@@ -392,8 +392,6 @@ gth_application_command_line (GApplication *application,
for (scan = dirs; scan; scan = scan->next)
open_browser_window ((GFile *) scan->data, NULL, TRUE);
- gdk_notify_startup_complete ();
-
_g_object_list_unref (dirs);
_g_object_list_unref (files);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]