[Xfce4-commits] <midori:master> Remove SelectionSourceView action stubs

Christian Dywan noreply at xfce.org
Sun Dec 27 17:08:07 CET 2009


Updating branch refs/heads/master
         to b973527239a6969d603b6c0a1f08a14202f1b369 (commit)
       from 2d80e601062c23687d71b8054b355346efd4dbb1 (commit)

commit b973527239a6969d603b6c0a1f08a14202f1b369
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sun Dec 27 17:05:40 2009 +0100

    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, 0 insertions(+), 6 deletions(-)

diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index f34d72b..1fb256f 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"), "<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);
diff --git a/midori/midori-view.c b/midori/midori-view.c
index fb8915b..bb232e0 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)



More information about the Xfce4-commits mailing list