From a4a9a58a7a7332888d4c3ae4ee436e42ef028c61 Mon Sep 17 00:00:00 2001
From: Giovanni Campagna <gcampagna@src.gnome.org>
Date: Sat, 18 Jan 2014 14:14:23 +0100
Subject: [PATCH] Application: mark that we handle the command line

Otherwise activating the application a second time would fail.

https://bugzilla.gnome.org/show_bug.cgi?id=722492
---
 src/fr-application.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/fr-application.c b/src/fr-application.c
index 0109a3a..f751bcf 100644
--- a/src/fr-application.c
+++ b/src/fr-application.c
@@ -866,7 +866,7 @@ fr_application_new (void)
 {
         return g_object_new (fr_application_get_type (),
                              "application-id", "org.gnome.FileRoller",
-                             "flags", G_APPLICATION_FLAGS_NONE,
+                             "flags", G_APPLICATION_HANDLES_COMMAND_LINE,
                              NULL);
 }
 
-- 
1.8.4.2