Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
virt-manager
virtman-keycombo.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File virtman-keycombo.diff of Package virt-manager
Index: virt-manager-0.5.3/src/vmm-console.glade =================================================================== --- virt-manager-0.5.3.orig/src/vmm-console.glade +++ virt-manager-0.5.3/src/vmm-console.glade @@ -209,12 +209,96 @@ </child> <child> + <widget class="GtkMenuItem" id="menu-send-assesc"> + <property name="visible">True</property> + <property name="label" translatable="yes">Alt+Shift+Shift+Esc</property> + <property name="use_underline">False</property> + <signal name="activate" handler="on_menu_send_assesc_activate" last_modification_time="Wed, 14 Oct 2009 12:06:25 GMT"/> + </widget> + </child> + + <child> <widget class="GtkSeparatorMenuItem" id="separator7"> <property name="visible">True</property> </widget> </child> <child> + <widget class="GtkMenuItem" id="menu-send-af10"> + <property name="visible">True</property> + <property name="label" translatable="yes">A_lt+F10</property> + <property name="use_underline">True</property> + <signal name="activate" handler="on_menu_send_af10_activate" last_modification_time="Wed, 14 Oct 2009 12:06:25 GMT"/> + </widget> + </child> + + <child> + <widget class="GtkMenuItem" id="menu-send-atab"> + <property name="visible">True</property> + <property name="label" translatable="yes">Alt+_Tab</property> + <property name="use_underline">True</property> + <signal name="activate" handler="on_menu_send_atab_activate" last_modification_time="Wed, 14 Oct 2009 12:06:25 GMT"/> + </widget> + </child> + + <child> + <widget class="GtkMenuItem" id="menu-send-astab"> + <property name="visible">True</property> + <property name="label" translatable="yes">_Alt+Esc</property> + <property name="use_underline">True</property> + <signal name="activate" handler="on_menu_send_aesc_activate" last_modification_time="Wed, 14 Oct 2009 12:06:25 GMT"/> + </widget> + </child> + + <child> + <widget class="GtkMenuItem" id="menu-send-cesc"> + <property name="visible">True</property> + <property name="label" translatable="yes">_Ctrl+Esc</property> + <property name="use_underline">True</property> + <signal name="activate" handler="on_menu_send_cesc_activate" last_modification_time="Wed, 14 Oct 2009 12:06:25 GMT"/> + </widget> + </child> + + <child> + <widget class="GtkMenuItem" id="menu-send-caesc"> + <property name="visible">True</property> + <property name="label" translatable="yes">Ctrl+Alt+_Esc</property> + <property name="use_underline">True</property> + <signal name="activate" handler="on_menu_send_caesc_activate" last_modification_time="Wed, 14 Oct 2009 12:06:25 GMT"/> + </widget> + </child> + + <child> + <widget class="GtkSeparatorMenuItem" id="separator8"> + <property name="visible">True</property> + </widget> + </child> + + <child> + <widget class="GtkMenuItem" id="menu-send-f8"> + <property name="visible">True</property> + <property name="label" translatable="yes">_F8</property> + <property name="use_underline">True</property> + <signal name="activate" handler="on_menu_send_f8_activate" last_modification_time="Wed, 09 Jan 2008 19:20:40 GMT"/> + </widget> + </child> + + <child> + <widget class="GtkMenuItem" id="menu-send-f10"> + <property name="visible">True</property> + <property name="label" translatable="yes">F1_0</property> + <property name="use_underline">True</property> + <signal name="activate" handler="on_menu_send_f10_activate" last_modification_time="Wed, 09 Jan 2008 19:20:40 GMT"/> + </widget> + </child> + + <child> + <widget class="GtkSeparatorMenuItem" id="separator9"> + <property name="visible">True</property> + </widget> + </child> + + <child> <widget class="GtkMenuItem" id="menu-send-caf1"> <property name="visible">True</property> <property name="label" translatable="yes">Ctrl+Alt+F_1</property> @@ -287,7 +371,25 @@ </child> <child> - <widget class="GtkSeparatorMenuItem" id="separator8"> + <widget class="GtkMenuItem" id="menu-send-caf9"> + <property name="visible">True</property> + <property name="label" translatable="yes">Ctrl+Alt+F_9</property> + <property name="use_underline">True</property> + <signal name="activate" handler="on_menu_send_caf9_activate" last_modification_time="Wed, 09 Jan 2008 19:20:40 GMT"/> + </widget> + </child> + + <child> + <widget class="GtkMenuItem" id="menu-send-caf10"> + <property name="visible">True</property> + <property name="label" translatable="yes">Ct_rl+Alt+F10</property> + <property name="use_underline">True</property> + <signal name="activate" handler="on_menu_send_caf10_activate" last_modification_time="Wed, 09 Jan 2008 19:20:40 GMT"/> + </widget> + </child> + + <child> + <widget class="GtkSeparatorMenuItem" id="separator10"> <property name="visible">True</property> </widget> </child> Index: virt-manager-0.5.3/src/virtManager/console.py =================================================================== --- virt-manager-0.5.3.orig/src/virtManager/console.py +++ virt-manager-0.5.3/src/virtManager/console.py @@ -139,6 +139,14 @@ class vmmConsole(gobject.GObject): "on_menu_send_cad_activate": self.send_key, "on_menu_send_cab_activate": self.send_key, + "on_menu_send_assesc_activate": self.send_key, + "on_menu_send_af10_activate": self.send_key, + "on_menu_send_atab_activate": self.send_key, + "on_menu_send_aesc_activate": self.send_key, + "on_menu_send_cesc_activate": self.send_key, + "on_menu_send_caesc_activate": self.send_key, + "on_menu_send_f8_activate": self.send_key, + "on_menu_send_f10_activate": self.send_key, "on_menu_send_caf1_activate": self.send_key, "on_menu_send_caf2_activate": self.send_key, "on_menu_send_caf3_activate": self.send_key, @@ -147,6 +155,8 @@ class vmmConsole(gobject.GObject): "on_menu_send_caf6_activate": self.send_key, "on_menu_send_caf7_activate": self.send_key, "on_menu_send_caf8_activate": self.send_key, + "on_menu_send_caf9_activate": self.send_key, + "on_menu_send_caf10_activate": self.send_key, "on_menu_send_printscreen_activate": self.send_key, }) @@ -208,6 +218,22 @@ class vmmConsole(gobject.GObject): keys = ["Control_L", "Alt_L", "Delete"] elif src.get_name() == "menu-send-cab": keys = ["Control_L", "Alt_L", "BackSpace"] + elif src.get_name() == "menu-send-assesc": + keys = ["Alt_R", "Shift_R", "Shift_L", "Escape"] + elif src.get_name() == "menu-send-af10": + keys = ["Alt_L", "F10"] + elif src.get_name() == "menu-send-atab": + keys = ["Alt_L", "Tab"] + elif src.get_name() == "menu-send-aesc": + keys = ["Alt_L", "Escape"] + elif src.get_name() == "menu-send-cesc": + keys = ["Control_L", "Escape"] + elif src.get_name() == "menu-send-caesc": + keys = ["Control_L", "Alt_L", "Escape"] + elif src.get_name() == "menu-send-f8": + keys = ["F8"] + elif src.get_name() == "menu-send-f10": + keys = ["F10"] elif src.get_name() == "menu-send-caf1": keys = ["Control_L", "Alt_L", "F1"] elif src.get_name() == "menu-send-caf2": @@ -224,6 +250,10 @@ class vmmConsole(gobject.GObject): keys = ["Control_L", "Alt_L", "F7"] elif src.get_name() == "menu-send-caf8": keys = ["Control_L", "Alt_L", "F8"] + elif src.get_name() == "menu-send-caf9": + keys = ["Control_L", "Alt_L", "F9"] + elif src.get_name() == "menu-send-caf10": + keys = ["Control_L", "Alt_L", "F10"] elif src.get_name() == "menu-send-printscreen": keys = ["Print"]
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor