Remove SelectionSourceView action stubs
The web inspector is more than good enough for inspecting select parts of a page.
This commit is contained in:
parent
2d80e60106
commit
b973527239
2 changed files with 0 additions and 6 deletions
|
@ -5105,10 +5105,6 @@ static const GtkActionEntry entries[] = {
|
||||||
{ "SourceView", NULL,
|
{ "SourceView", NULL,
|
||||||
N_("View So_urce"), "<Ctrl><Alt>U",
|
N_("View So_urce"), "<Ctrl><Alt>U",
|
||||||
N_("View the source code of the page"), G_CALLBACK (_action_source_view_activate) },
|
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,
|
{ "Fullscreen", GTK_STOCK_FULLSCREEN,
|
||||||
NULL, "F11",
|
NULL, "F11",
|
||||||
N_("Toggle fullscreen view"), G_CALLBACK (_action_fullscreen_activate) },
|
N_("Toggle fullscreen view"), G_CALLBACK (_action_fullscreen_activate) },
|
||||||
|
@ -5992,7 +5988,6 @@ midori_browser_init (MidoriBrowser* browser)
|
||||||
_action_set_visible (browser, "Transferbar", FALSE);
|
_action_set_visible (browser, "Transferbar", FALSE);
|
||||||
#endif
|
#endif
|
||||||
_action_set_sensitive (browser, "EncodingCustom", FALSE);
|
_action_set_sensitive (browser, "EncodingCustom", FALSE);
|
||||||
_action_set_visible (browser, "SelectionSourceView", FALSE);
|
|
||||||
_action_set_visible (browser, "LastSession", FALSE);
|
_action_set_visible (browser, "LastSession", FALSE);
|
||||||
/* FIXME: Show once implemented */
|
/* FIXME: Show once implemented */
|
||||||
_action_set_visible (browser, "AddDesktopShortcut", FALSE);
|
_action_set_visible (browser, "AddDesktopShortcut", FALSE);
|
||||||
|
|
|
@ -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_CALLBACK (midori_web_view_menu_new_tab_activate_cb), widget);
|
||||||
g_object_set_data (G_OBJECT (menuitem), "uri", view->selected_text);
|
g_object_set_data (G_OBJECT (menuitem), "uri", view->selected_text);
|
||||||
}
|
}
|
||||||
/* FIXME: view selection source */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_document)
|
if (is_document)
|
||||||
|
|
Loading…
Reference in a new issue