Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2009-08-14 20:00:23 (GMT)
committer Christian Persch <chpe@gnome.org>2009-10-26 12:00:41 (GMT)
commit5f554d8e362a35e05840068e1b3ea935be5d3c47 (patch)
tree40d473e5641be4fe0d1c4e49cfdaa3dcb90c9a4a /shell
parent00632264c5cb956ee6d66b00d14bbd4ad9f96efd (diff)
shell: Actually use the launch context
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-window.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 23ac71f..528226b 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -5420,6 +5420,7 @@ launch_action (EvWindow *window, EvLinkAction *action)
g_object_unref (app_info);
g_object_unref (file);
+ /* FIXMEchpe: unref launch context? */
/* According to the PDF spec filename can be an executable. I'm not sure
allowing to launch executables is a good idea though. -- marco */
@@ -5445,10 +5446,10 @@ launch_external_uri (EvWindow *window, EvLinkAction *action)
/* Not a valid uri, assuming it's http */
http = g_strdup_printf ("http://%s", uri);
- ret = g_app_info_launch_default_for_uri (http, NULL, &error);
+ ret = g_app_info_launch_default_for_uri (http, context, &error);
g_free (http);
} else {
- ret = g_app_info_launch_default_for_uri (uri, NULL, &error);
+ ret = g_app_info_launch_default_for_uri (uri, context, &error);
}
if (ret == FALSE) {
@@ -5456,6 +5457,8 @@ launch_external_uri (EvWindow *window, EvLinkAction *action)
"%s", _("Unable to open external link"));
g_error_free (error);
}
+
+ /* FIXMEchpe: unref launch context? */
}
static void