Commit 46454d5a authored by Victor Ananjesky's avatar Victor Ananjesky

use extra argument as uri for html dialog in browser mode (--uri parameter is preffered)

parent a26fd6b2
...@@ -450,6 +450,8 @@ html_create_widget (GtkWidget * dlg) ...@@ -450,6 +450,8 @@ html_create_widget (GtkWidget * dlg)
g_io_channel_set_flags (ch, G_IO_FLAG_NONBLOCK, NULL); g_io_channel_set_flags (ch, G_IO_FLAG_NONBLOCK, NULL);
g_io_add_watch (ch, G_IO_IN | G_IO_HUP, handle_stdin, NULL); g_io_add_watch (ch, G_IO_IN | G_IO_HUP, handle_stdin, NULL);
} }
else if (options.extra_data)
load_uri (options.extra_data);
return sw; return sw;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment