]> www.fi.muni.cz Git - evince.git/commitdiff
Add comment explaining the previous commit
authorCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 20 Mar 2011 10:24:01 +0000 (11:24 +0100)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 20 Mar 2011 10:24:01 +0000 (11:24 +0100)
shell/ev-application.c

index 21f7a3a285dfa1420ae25d70f2211e8f0053d9f3..2fc9030e7832abc309ebd2c6c0e1dd0d347b520e 100644 (file)
@@ -293,6 +293,12 @@ ev_spawn (const char     *uri,
                gdk_app_launch_context_set_screen (ctx, screen);
                gdk_app_launch_context_set_timestamp (ctx, timestamp);
 
+                /* Some URIs can be changed when passed through a GFile
+                 * (for instance unsupported uris with strange formats like mailto:),
+                 * so if you have a textual uri you want to pass in as argument,
+                 * consider using g_app_info_launch_uris() instead.
+                 * See https://bugzilla.gnome.org/show_bug.cgi?id=644604
+                 */
                 uri_list.data = (gchar *)uri;
                 uri_list.prev = uri_list.next = NULL;
                g_app_info_launch_uris (app, &uri_list,