Ticket #17032: patch-src-main.c.diff
File patch-src-main.c.diff, 1.2 KB (added by markdigital69@…, 16 years ago) |
---|
-
src/main.c
old new 58 58 static gboolean slide_show = FALSE; 59 59 static gboolean disable_collection = FALSE; 60 60 #if HAVE_DBUS 61 static gboolean wait = FALSE;61 static gboolean eog_wait = FALSE; 62 62 #endif 63 63 static gchar **startup_files = NULL; 64 64 … … 68 68 { "disable-image-collection", 'c', 0, G_OPTION_ARG_NONE, &disable_collection, N_("Disable image collection"), NULL }, 69 69 { "slide-show", 's', 0, G_OPTION_ARG_NONE, &slide_show, N_("Open in slide show mode"), NULL }, 70 70 #if HAVE_DBUS 71 { "new-instance", 'n', 0, G_OPTION_ARG_NONE, & wait, N_("Start a new instance instead of reusing an existing one"), NULL },71 { "new-instance", 'n', 0, G_OPTION_ARG_NONE, &eog_wait, N_("Start a new instance instead of reusing an existing one"), NULL }, 72 72 #endif 73 73 { G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_FILENAME_ARRAY, &startup_files, NULL, N_("[FILE...]") }, 74 74 { NULL } … … 196 196 set_startup_flags (); 197 197 198 198 #ifdef HAVE_DBUS 199 if (! wait && !eog_application_register_service (EOG_APP)) {199 if (!eog_wait && !eog_application_register_service (EOG_APP)) { 200 200 if (load_files_remote ()) { 201 201 g_object_unref (program); 202 202 return 0;