]> spindle.queued.net Git - midori/commitdiff
Remove SelectionSourceView action stubs
authorChristian Dywan <christian@twotoasts.de>
Sun, 27 Dec 2009 16:05:40 +0000 (17:05 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sun, 27 Dec 2009 16:05:40 +0000 (17:05 +0100)
The web inspector is more than good enough for inspecting select
parts of a page.

midori/midori-browser.c
midori/midori-view.c

index f34d72b67c52c41f313c9f9b6dbc2e7bd8b4ae85..1fb256f39f9325305c4f99962fd853e77fcaa944 100644 (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);
index fb8915b1a0755a83abbe15b28934ada76daaf2fe..bb232e0cf15289315156191997dd83c68af414e2 100644 (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)