diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-08-25 11:08:13 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-08-25 11:08:13 +0800 |
commit | 2b8c7c62aa3d172e3530c0570be29dfaac501432 (patch) | |
tree | 22c72758fd3e4736946114f9f61ee35e002123d5 /shell/main.c | |
parent | 3184f3d532f7d1aabfcf49a0ba6fef9c6fcbdf5e (diff) | |
download | gsoc2013-evolution-2b8c7c62aa3d172e3530c0570be29dfaac501432.tar gsoc2013-evolution-2b8c7c62aa3d172e3530c0570be29dfaac501432.tar.gz gsoc2013-evolution-2b8c7c62aa3d172e3530c0570be29dfaac501432.tar.bz2 gsoc2013-evolution-2b8c7c62aa3d172e3530c0570be29dfaac501432.tar.lz gsoc2013-evolution-2b8c7c62aa3d172e3530c0570be29dfaac501432.tar.xz gsoc2013-evolution-2b8c7c62aa3d172e3530c0570be29dfaac501432.tar.zst gsoc2013-evolution-2b8c7c62aa3d172e3530c0570be29dfaac501432.zip |
Exit if no command-line URIs are handled.
Diffstat (limited to 'shell/main.c')
-rw-r--r-- | shell/main.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/shell/main.c b/shell/main.c index 43edb73606..5adae2ecb1 100644 --- a/shell/main.c +++ b/shell/main.c @@ -247,9 +247,10 @@ idle_cb (gchar **uris) /* These calls do the right thing when another Evolution * process is running. */ - if (uris != NULL && *uris != NULL) - e_shell_handle_uris (shell, uris); - else + if (uris != NULL && *uris != NULL) { + if (e_shell_handle_uris (shell, uris) == 0) + gtk_main_quit (); + } else e_shell_create_shell_window (shell, requested_view); /* If another Evolution process is running, we're done. */ |