[evolution/wip/webkit2] Bug 741013 - Pass URIs into the primary instance as soon as possible



commit bd8ca2a7d226548068c03450f7d932d80861e474
Author: Milan Crha <mcrha redhat com>
Date:   Fri Feb 20 12:33:06 2015 +0100

    Bug 741013 - Pass URIs into the primary instance as soon as possible

 shell/main.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/shell/main.c b/shell/main.c
index 9b5ce2c..4a0da47 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -590,6 +590,12 @@ main (gint argc,
                goto exit;
        }
 
+       if (g_application_get_is_remote (G_APPLICATION (shell)) &&
+           remaining_args && *remaining_args) {
+               e_shell_handle_uris (shell, (const gchar * const *) remaining_args, import_uris);
+               goto exit;
+       }
+
        /* This routine converts the local mail store from mbox format to
         * Maildir format as needed.  The reason the code is here and not
         * in the mail module is because we inform the user at startup of


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]