Remove SelectionSourceView action stubs

The web inspector is more than good enough for inspecting select
parts of a page.
This commit is contained in:
Christian Dywan 2009-12-27 17:05:40 +01:00
parent 2d80e60106
commit b973527239
2 changed files with 0 additions and 6 deletions

View file

@ -5105,10 +5105,6 @@ static const GtkActionEntry entries[] = {
{ "SourceView", NULL,
N_("View So_urce"), "<Ctrl><Alt>U",
N_("View the source code of the page"), G_CALLBACK (_action_source_view_activate) },
{ "SelectionSourceView", NULL,
N_("View Selection Source"), "",
N_("View the source code of the selection"),
NULL/*G_CALLBACK (_action_selection_source_view_activate)*/ },
{ "Fullscreen", GTK_STOCK_FULLSCREEN,
NULL, "F11",
N_("Toggle fullscreen view"), G_CALLBACK (_action_fullscreen_activate) },
@ -5992,7 +5988,6 @@ midori_browser_init (MidoriBrowser* browser)
_action_set_visible (browser, "Transferbar", FALSE);
#endif
_action_set_sensitive (browser, "EncodingCustom", FALSE);
_action_set_visible (browser, "SelectionSourceView", FALSE);
_action_set_visible (browser, "LastSession", FALSE);
/* FIXME: Show once implemented */
_action_set_visible (browser, "AddDesktopShortcut", FALSE);

View file

@ -1996,7 +1996,6 @@ webkit_web_view_populate_popup_cb (WebKitWebView* web_view,
G_CALLBACK (midori_web_view_menu_new_tab_activate_cb), widget);
g_object_set_data (G_OBJECT (menuitem), "uri", view->selected_text);
}
/* FIXME: view selection source */
}
if (is_document)