[virt-tools-list] [virt-manager PATCH] ui: remove "Restore Saved Machine..." from File menu of Connection Details
Pavel Hrdina
phrdina at redhat.com
Tue May 31 11:16:59 UTC 2016
Commit 839ce682 removed deprecated support of save/restore which was replaced by
managedsave feature. This is a leftover that wasn't removed together with that
commit.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1340356
Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
---
ui/host.ui | 19 -------------------
virtManager/host.py | 1 -
2 files changed, 20 deletions(-)
diff --git a/ui/host.ui b/ui/host.ui
index 4edc666..8e96499 100644
--- a/ui/host.ui
+++ b/ui/host.ui
@@ -35,25 +35,6 @@
<object class="GtkMenu" id="menuitem4_menu">
<property name="can_focus">False</property>
<child>
- <object class="GtkImageMenuItem" id="menu_file_restore_saved">
- <property name="label" translatable="yes">Restore Saved Machine...</property>
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="tooltip_text" translatable="yes">Restore a saved machine from a filesystem image</property>
- <property name="use_underline">True</property>
- <property name="image">image3</property>
- <property name="use_stock">False</property>
- <signal name="activate" handler="on_menu_restore_saved_activate" swapped="no"/>
- <accelerator key="r" signal="activate" modifiers="GDK_MOD1_MASK"/>
- </object>
- </child>
- <child>
- <object class="GtkSeparatorMenuItem" id="separator4">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- </object>
- </child>
- <child>
<object class="GtkMenuItem" id="menu-file-view-manager">
<property name="visible">True</property>
<property name="can_focus">False</property>
diff --git a/virtManager/host.py b/virtManager/host.py
index 00ba4d8..9649963 100644
--- a/virtManager/host.py
+++ b/virtManager/host.py
@@ -327,7 +327,6 @@ class vmmHost(vmmGObjectUI):
if not self.widget("overview-name").has_focus():
self.widget("overview-name").set_text(self.conn.get_pretty_desc())
- self.widget("menu_file_restore_saved").set_sensitive(conn_active)
self.widget("net-add").set_sensitive(conn_active and
self.conn.is_network_capable())
self.widget("interface-add").set_sensitive(conn_active and
--
2.8.3
More information about the virt-tools-list
mailing list