From b973527239a6969d603b6c0a1f08a14202f1b369 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 27 Dec 2009 17:05:40 +0100 Subject: [PATCH] Remove SelectionSourceView action stubs The web inspector is more than good enough for inspecting select parts of a page. --- midori/midori-browser.c | 5 ----- midori/midori-view.c | 1 - 2 files changed, 6 deletions(-) diff --git a/midori/midori-browser.c b/midori/midori-browser.c index f34d72b6..1fb256f3 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -5105,10 +5105,6 @@ static const GtkActionEntry entries[] = { { "SourceView", NULL, N_("View So_urce"), "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); diff --git a/midori/midori-view.c b/midori/midori-view.c index fb8915b1..bb232e0c 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -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)