[virt-tools-list] [PATCH] Do not show duplicated menu items
Fabiano Fidêncio
fidencio at redhat.com
Wed Sep 10 14:30:07 UTC 2014
When the support to use numpad accelerators for zoom-{in,out,reset}
was added (3a168815), by mistake, we have added duplicated buttons
in View -> Zoom.
---
src/virt-viewer.xml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/virt-viewer.xml b/src/virt-viewer.xml
index 760550e..6f2eebb 100644
--- a/src/virt-viewer.xml
+++ b/src/virt-viewer.xml
@@ -141,7 +141,7 @@
<object class="GtkImageMenuItem" id="menu-view-kp-zoom-in">
<property name="accel_path"><virt-viewer>/view/kp-zoom-in</property>
<property name="label">gtk-zoom-in</property>
- <property name="visible">True</property>
+ <property name="visible">False</property>
<property name="can_focus">False</property>
<property name="use_action_appearance">False</property>
<property name="use_underline">True</property>
@@ -165,7 +165,7 @@
<object class="GtkImageMenuItem" id="menu-view-kp-zoom-out">
<property name="accel_path"><virt-viewer>/view/kp-zoom-out</property>
<property name="label">gtk-zoom-out</property>
- <property name="visible">True</property>
+ <property name="visible">False</property>
<property name="can_focus">False</property>
<property name="use_action_appearance">False</property>
<property name="use_underline">True</property>
@@ -195,7 +195,7 @@
<object class="GtkImageMenuItem" id="menu-view-kp-zoom-reset">
<property name="accel_path"><virt-viewer>/view/kp-zoom-reset</property>
<property name="label">gtk-zoom-100</property>
- <property name="visible">True</property>
+ <property name="visible">False</property>
<property name="can_focus">False</property>
<property name="use_action_appearance">False</property>
<property name="use_underline">True</property>
--
1.9.3
More information about the virt-tools-list
mailing list