[evince] zoom-action: Remove zoom-in/out icons from menu



commit 758bd06e7dc4bd31239be6c9ca3aa5d2b8ce05ff
Author: Germán Poo-Caamaño <gpoo gnome org>
Date:   Fri Jul 27 14:39:08 2018 -0400

    zoom-action: Remove zoom-in/out icons from menu
    
    Actions to zoom-in and zoom-out are cumbersome to use with a
    Popover. Besides there is a plethora of zoom options in the
    menu. Nevertheless, the actions are still available as keyboard
    shortcuts.
    
    See #947

 shell/ev-zoom-action.c |  1 -
 shell/evince-menus.ui  | 13 -------------
 2 files changed, 14 deletions(-)
---
diff --git a/shell/ev-zoom-action.c b/shell/ev-zoom-action.c
index ef05a704..5dd560c0 100644
--- a/shell/ev-zoom-action.c
+++ b/shell/ev-zoom-action.c
@@ -37,7 +37,6 @@ enum
 };
 
 enum {
-        ZOOM_IN_OUT_SECTION,
         ZOOM_MODES_SECTION,
         ZOOM_FREE_SECTION
 };
diff --git a/shell/evince-menus.ui b/shell/evince-menus.ui
index a6815cd4..945cd940 100644
--- a/shell/evince-menus.ui
+++ b/shell/evince-menus.ui
@@ -122,19 +122,6 @@
   </menu>
 
   <menu id="zoom-menu">
-    <section>
-      <attribute name="display-hint">horizontal-buttons</attribute>
-      <item>
-        <attribute name="label" translatable="yes">Zoom _In</attribute>
-        <attribute name="action">win.zoom-in</attribute>
-        <attribute name="verb-icon">zoom-in-symbolic</attribute>
-      </item>
-      <item>
-        <attribute name="label" translatable="yes">Zoom _Out</attribute>
-        <attribute name="action">win.zoom-out</attribute>
-        <attribute name="verb-icon">zoom-out-symbolic</attribute>
-      </item>
-    </section>
     <section>
       <item>
         <attribute name="label" translatable="yes">Fit Pa_ge</attribute>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]