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



commit c0d7cd245d1016a8d273c19e036d8948ff851337
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 ac8bf6b..fe97b0f 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -589,6 +589,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]