"show-statusbar", FALSE,
"enable-developer-extras", FALSE,
NULL);
+ midori_browser_set_action_visible (browser, "Menubar", FALSE);
}
g_object_set (settings, "show-panel", FALSE, NULL);
midori_browser_set_action_visible (browser, "Bookmarks", FALSE);
g_signal_connect (browser, "notify::load-status",
G_CALLBACK (midori_web_app_browser_notify_load_status_cb), NULL);
midori_browser_add_uri (browser, webapp);
- g_object_set_data (G_OBJECT (browser), "locked", (void*)1);
g_signal_connect (browser, "quit",
G_CALLBACK (gtk_main_quit), NULL);
g_signal_connect (browser, "destroy",
GtkWidget* menu;
GtkWidget* menuitem;
- /* Unsupported trick used for web app mode */
- if (g_object_get_data (G_OBJECT (browser), "locked"))
- return FALSE;
-
menu = gtk_menu_new ();
menuitem = sokoke_action_create_popup_menu_item (
_action_by_name (browser, "Menubar"));