application: add G_APPLICATION_HANDLES_OPEN

Commit 9f92f73e 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
parent bac36a5c
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment