Do not treat URIs passed externally like files, pass them as they are
This commit is contained in:
parent
c9a045cd19
commit
34e02640cf
2 changed files with 3 additions and 3 deletions
|
@ -2222,7 +2222,7 @@ _action_add_news_feed_activate (GtkAction* action,
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (browser->news_aggregator && *browser->news_aggregator)
|
if (browser->news_aggregator && *browser->news_aggregator)
|
||||||
sokoke_spawn_program (browser->news_aggregator, uri, TRUE);
|
sokoke_spawn_program (browser->news_aggregator, uri, FALSE);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
GtkWidget* dialog = gtk_message_dialog_new (
|
GtkWidget* dialog = gtk_message_dialog_new (
|
||||||
|
|
|
@ -1484,7 +1484,7 @@ midori_web_view_menu_video_download_activate_cb (GtkWidget* widget,
|
||||||
MidoriView* view)
|
MidoriView* view)
|
||||||
{
|
{
|
||||||
gchar* uri = katze_object_get_string (view->hit_test, "media-uri");
|
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);
|
g_free (uri);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -1567,7 +1567,7 @@ static void
|
||||||
midori_web_view_menu_download_activate_cb (GtkWidget* widget,
|
midori_web_view_menu_download_activate_cb (GtkWidget* widget,
|
||||||
MidoriView* view)
|
MidoriView* view)
|
||||||
{
|
{
|
||||||
sokoke_spawn_program (view->download_manager, view->link_uri, TRUE);
|
sokoke_spawn_program (view->download_manager, view->link_uri, FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue