Do not treat URIs passed externally like files, pass them as they are

This commit is contained in:
Christian Dywan 2009-11-20 20:03:24 +01:00
parent c9a045cd19
commit 34e02640cf
2 changed files with 3 additions and 3 deletions

View 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 (

View 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