]> spindle.queued.net Git - midori/commitdiff
Do not treat URIs passed externally like files, pass them as they are
authorChristian Dywan <christian@twotoasts.de>
Fri, 20 Nov 2009 19:03:24 +0000 (20:03 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sat, 21 Nov 2009 01:35:14 +0000 (02:35 +0100)
midori/midori-browser.c
midori/midori-view.c

index cab9f60026c0120bf0082a05a5cf4cc13ce91cf7..2a8f96a123f34ff810ff65ff53ef99c49f942e34 100644 (file)
@@ -2222,7 +2222,7 @@ _action_add_news_feed_activate (GtkAction*     action,
         return;
 
     if (browser->news_aggregator && *browser->news_aggregator)
-        sokoke_spawn_program (browser->news_aggregator, uri, TRUE);
+        sokoke_spawn_program (browser->news_aggregator, uri, FALSE);
     else
     {
         GtkWidget* dialog = gtk_message_dialog_new (
index 9a9f705976fc3d4b2f7ae85c6523e453a1397c34..9ff591f00044a6e5a9eb66b64aff0cb5d3013bea 100644 (file)
@@ -1484,7 +1484,7 @@ midori_web_view_menu_video_download_activate_cb (GtkWidget*  widget,
                                                  MidoriView* view)
 {
     gchar* uri = katze_object_get_string (view->hit_test, "media-uri");
-    sokoke_spawn_program (view->download_manager, uri, TRUE);
+    sokoke_spawn_program (view->download_manager, uri, FALSE);
     g_free (uri);
 }
 #endif
@@ -1567,7 +1567,7 @@ static void
 midori_web_view_menu_download_activate_cb (GtkWidget*  widget,
                                            MidoriView* view)
 {
-    sokoke_spawn_program (view->download_manager, view->link_uri, TRUE);
+    sokoke_spawn_program (view->download_manager, view->link_uri, FALSE);
 }
 
 static void