[Xfce4-commits] <midori:master> Remove Hildon specific icon and shortcut values

Christian Dywan noreply at xfce.org
Mon Nov 30 19:38:01 CET 2009


Updating branch refs/heads/master
         to baaca9a06162f8b71445aaa951e5c3a21bb4beec (commit)
       from 03efa65da13fbf1c5293c3b416f73c39c9c827dc (commit)

commit baaca9a06162f8b71445aaa951e5c3a21bb4beec
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sun Nov 29 23:38:40 2009 +0100

    Remove Hildon specific icon and shortcut values

 icons/wscript_build     |    6 +-----
 midori/midori-browser.c |   12 ------------
 2 files changed, 1 insertions(+), 17 deletions(-)

diff --git a/icons/wscript_build b/icons/wscript_build
index 5a73b4b..caaa19b 100644
--- a/icons/wscript_build
+++ b/icons/wscript_build
@@ -15,11 +15,7 @@ def add_image (bld, category, name):
     if rsvg_convert:
         Utils.check_dir (blddir + '/icons')
 
-    if bld.env['HAVE_HILDON']:
-        category = 'hildon'
-        icon_sizes = [48, 64]
-    else:
-        icon_sizes = [16, 22, 24, 32, 48]
+    icon_sizes = [16, 22, 24, 32, 48]
 
     for size in icon_sizes:
         format = str (size) + 'x' + str (size)
diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index de1f0e6..cb153d2 100644
--- a/midori/midori-browser.c
+++ b/midori/midori-browser.c
@@ -4925,18 +4925,10 @@ static const GtkActionEntry entries[] = {
    NULL, "<Ctrl>r",
    N_("Reload the current page"), G_CALLBACK (_action_reload_stop_activate) },
  { "ZoomIn", GTK_STOCK_ZOOM_IN,
-   #if HAVE_HILDON
-   NULL, "F7",
-   #else
    NULL, "<Ctrl>plus",
-   #endif
    N_("Increase the zoom level"), G_CALLBACK (_action_zoom_in_activate) },
  { "ZoomOut", GTK_STOCK_ZOOM_OUT,
-   #if HAVE_HILDON
-   NULL, "F8",
-   #else
    NULL, "<Ctrl>minus",
-   #endif
    N_("Decrease the zoom level"), G_CALLBACK (_action_zoom_out_activate) },
  { "ZoomNormal", GTK_STOCK_ZOOM_100,
    NULL, "<Ctrl>0",
@@ -4950,11 +4942,7 @@ static const GtkActionEntry entries[] = {
     N_("View the source code of the selection"),
     NULL/*G_CALLBACK (_action_selection_source_view_activate)*/ },
  { "Fullscreen", GTK_STOCK_FULLSCREEN,
-   #if HAVE_HILDON
-   NULL, "F6",
-   #else
    NULL, "F11",
-   #endif
    N_("Toggle fullscreen view"), G_CALLBACK (_action_fullscreen_activate) },
 
  { "Go", NULL, N_("_Go") },



More information about the Xfce4-commits mailing list