summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2015-04-23 16:01:39 +0200
committerCarlos Soriano <csoriano@gnome.org>2015-04-23 16:04:36 +0200
commit55e1877eb4b94216ab043cdeb17d87cdcc810f44 (patch)
tree405a775a7e64ff66f47af019bda5cb1bb3bad68c /src
parentbac36a5c59b0fd8f56d96025eb326f3d30f24f5f (diff)
downloadnautilus-55e1877eb4b94216ab043cdeb17d87cdcc810f44.tar.gz
application: add G_APPLICATION_HANDLES_OPEN
Commit 9f92f73e555c73 tried to handle open files, but forgot to register the application as handling files. Add G_APPLICATION_HANDLES_OPEN to do so. https://bugzilla.gnome.org/show_bug.cgi?id=747921
Diffstat (limited to 'src')
-rw-r--r--src/nautilus-application.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-application.c b/src/nautilus-application.c
index 8c4d4f634..6948a130f 100644
--- a/src/nautilus-application.c
+++ b/src/nautilus-application.c
@@ -1215,7 +1215,7 @@ nautilus_application_new (void)
{
return g_object_new (NAUTILUS_TYPE_APPLICATION,
"application-id", "org.gnome.Nautilus",
- "flags", G_APPLICATION_HANDLES_COMMAND_LINE,
+ "flags", G_APPLICATION_HANDLES_COMMAND_LINE | G_APPLICATION_HANDLES_OPEN,
"inactivity-timeout", 12000,
"register-session", TRUE,
NULL);