[evince] Add comment explaining the previous commit



commit be325017a224d8f293753577c031a8b5c277a97a
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Sun Mar 20 11:24:01 2011 +0100

    Add comment explaining the previous commit

 shell/ev-application.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/shell/ev-application.c b/shell/ev-application.c
index 21f7a3a..2fc9030 100644
--- a/shell/ev-application.c
+++ b/shell/ev-application.c
@@ -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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]