gtk_widget_show (GTK_WIDGET (browser));
midori_browser_activate_action (browser, "Location");
if (execute)
- midori_browser_activate_action (browser, *uris);
+ {
+ i = 0;
+ while (uris[i] != NULL)
+ {
+ midori_browser_activate_action (browser, uris[i]);
+ i++;
+ }
+ }
gtk_main ();
return 0;
}
}
else if (g_str_equal (command, "command"))
{
+ guint i = 0;
+
if (!uris || !app->browser)
return FALSE;
- midori_browser_activate_action (app->browser, *uris);
+ while (uris[i] != NULL)
+ {
+ midori_browser_activate_action (app->browser, uris[i]);
+ i++;
+ }
return TRUE;
}