summaryrefslogtreecommitdiffstats
path: root/src/virt-viewer.xml
diff options
context:
space:
mode:
authorFabiano FidĂȘncio <fidencio@redhat.com>2014-09-23 01:32:16 +0200
committerFabiano FidĂȘncio <fidencio@redhat.com>2014-09-23 15:00:19 +0200
commite86e8853807f9026c62ef36f56e03d8eda7ce4e1 (patch)
tree533d80b97f08370fd3616b7fd824c42c7d6a0a11 /src/virt-viewer.xml
parent56cda33ff844c3f6fe5987f239b8f55d141ac77c (diff)
downloadvirt-viewer-e86e8853807f9026c62ef36f56e03d8eda7ce4e1.tar.gz
virt-viewer-e86e8853807f9026c62ef36f56e03d8eda7ce4e1.tar.xz
virt-viewer-e86e8853807f9026c62ef36f56e03d8eda7ce4e1.zip
Revert changes related to numpad accelerators
Due to a GTK+ limitation and bad testing from my side, I've pushed two patches trying to add support to use Ctrl + {+, -, 0} from numpad to control zoom-in, zoom-out and zoom-reset. Unfortunately, with the first patch (3a168815) I've duplicated the menu items related to the zoom functions. With the second one (55cdb986), provided to not show the duplicated menu items, we came back to the initial state, where the numpad accelerators don't work. So, in resume, multiple accelerators in a GTK+ widget are only supported on applications using GApplication, what is not our case and won't be till we drop the GTK+2 support. Revert "Do not show duplicated menu items" and Revert "Add support to use numpad accelarators for zoom-{in.out,reset}" This reverts commits 55cdb9867df05f1c4f6c8e569a6f0c1e0bc28d99 and 3a168815b738076526ba0f3e9a82e6fb1db482e9.
Diffstat (limited to 'src/virt-viewer.xml')
-rw-r--r--src/virt-viewer.xml36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/virt-viewer.xml b/src/virt-viewer.xml
index 6f2eebb..d489653 100644
--- a/src/virt-viewer.xml
+++ b/src/virt-viewer.xml
@@ -138,18 +138,6 @@
</object>
</child>
<child>
- <object class="GtkImageMenuItem" id="menu-view-kp-zoom-in">
- <property name="accel_path">&lt;virt-viewer&gt;/view/kp-zoom-in</property>
- <property name="label">gtk-zoom-in</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>
- <property name="use_stock">True</property>
- <signal name="activate" handler="virt_viewer_window_menu_view_zoom_in" swapped="no"/>
- </object>
- </child>
- <child>
<object class="GtkImageMenuItem" id="menu-view-zoom-out">
<property name="accel_path">&lt;virt-viewer&gt;/view/zoom-out</property>
<property name="label">gtk-zoom-out</property>
@@ -162,18 +150,6 @@
</object>
</child>
<child>
- <object class="GtkImageMenuItem" id="menu-view-kp-zoom-out">
- <property name="accel_path">&lt;virt-viewer&gt;/view/kp-zoom-out</property>
- <property name="label">gtk-zoom-out</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>
- <property name="use_stock">True</property>
- <signal name="activate" handler="virt_viewer_window_menu_view_zoom_out" swapped="no"/>
- </object>
- </child>
- <child>
<object class="GtkSeparatorMenuItem" id="separatormenuitem4">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -191,18 +167,6 @@
<signal name="activate" handler="virt_viewer_window_menu_view_zoom_reset" swapped="no"/>
</object>
</child>
- <child>
- <object class="GtkImageMenuItem" id="menu-view-kp-zoom-reset">
- <property name="accel_path">&lt;virt-viewer&gt;/view/kp-zoom-reset</property>
- <property name="label">gtk-zoom-100</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>
- <property name="use_stock">True</property>
- <signal name="activate" handler="virt_viewer_window_menu_view_zoom_reset" swapped="no"/>
- </object>
- </child>
</object>
</child>
</object>