Blame SOURCES/0059-Do-not-show-duplicated-menu-items.patch

4ab194
From c6f69143bb5a6c95f812f9d71d7a78f6b2c2eaeb Mon Sep 17 00:00:00 2001
4ab194
From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= <fidencio@redhat.com>
4ab194
Date: Thu, 18 Sep 2014 12:21:12 +0200
4ab194
Subject: [PATCH] Do not show duplicated menu items
4ab194
4ab194
When the support to use numpad accelerators for zoom-{in,out,reset}
4ab194
was added (3a168815), by mistake, we have added duplicated buttons
4ab194
in View -> Zoom.
4ab194
4ab194
https://bugzilla.redhat.com/show_bug.cgi?id=883433
4ab194
(cherry picked from commit 55cdb9867df05f1c4f6c8e569a6f0c1e0bc28d99)
4ab194
---
4ab194
 src/virt-viewer.xml | 6 +++---
4ab194
 1 file changed, 3 insertions(+), 3 deletions(-)
4ab194
4ab194
diff --git a/src/virt-viewer.xml b/src/virt-viewer.xml
4ab194
index 760550e..6f2eebb 100644
4ab194
--- a/src/virt-viewer.xml
4ab194
+++ b/src/virt-viewer.xml
4ab194
@@ -141,7 +141,7 @@
4ab194
                               <object class="GtkImageMenuItem" id="menu-view-kp-zoom-in">
4ab194
                                 <property name="accel_path"><virt-viewer>/view/kp-zoom-in</property>
4ab194
                                 <property name="label">gtk-zoom-in</property>
4ab194
-                                <property name="visible">True</property>
4ab194
+                                <property name="visible">False</property>
4ab194
                                 <property name="can_focus">False</property>
4ab194
                                 <property name="use_action_appearance">False</property>
4ab194
                                 <property name="use_underline">True</property>
4ab194
@@ -165,7 +165,7 @@
4ab194
                               <object class="GtkImageMenuItem" id="menu-view-kp-zoom-out">
4ab194
                                 <property name="accel_path"><virt-viewer>/view/kp-zoom-out</property>
4ab194
                                 <property name="label">gtk-zoom-out</property>
4ab194
-                                <property name="visible">True</property>
4ab194
+                                <property name="visible">False</property>
4ab194
                                 <property name="can_focus">False</property>
4ab194
                                 <property name="use_action_appearance">False</property>
4ab194
                                 <property name="use_underline">True</property>
4ab194
@@ -195,7 +195,7 @@
4ab194
                               <object class="GtkImageMenuItem" id="menu-view-kp-zoom-reset">
4ab194
                                 <property name="accel_path"><virt-viewer>/view/kp-zoom-reset</property>
4ab194
                                 <property name="label">gtk-zoom-100</property>
4ab194
-                                <property name="visible">True</property>
4ab194
+                                <property name="visible">False</property>
4ab194
                                 <property name="can_focus">False</property>
4ab194
                                 <property name="use_action_appearance">False</property>
4ab194
                                 <property name="use_underline">True</property>