preferences: Remove old Interface confirm option
This hasn't been relevant since that UI was removed Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
d410773af8
commit
0bf65e6ce8
|
@ -334,12 +334,6 @@
|
|||
<description>Whether we require confirmation to remove a virtual device</description>
|
||||
</key>
|
||||
|
||||
<key name="interface-power" type="b">
|
||||
<default>true</default>
|
||||
<summary>Confirm device interface start and stop</summary>
|
||||
<description>Whether we require confirmation to start or stop a libvirt virtual interface</description>
|
||||
</key>
|
||||
|
||||
<key name="unapplied-dev" type="b">
|
||||
<default>true</default>
|
||||
<summary>Confirm about unapplied device changes</summary>
|
||||
|
|
|
@ -902,7 +902,7 @@ Redirection:</property>
|
|||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
<property name="top_attach">4</property>
|
||||
<property name="top_attach">3</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
|
@ -916,33 +916,6 @@ Redirection:</property>
|
|||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">0</property>
|
||||
<property name="top_attach">4</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel" id="label23">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="halign">start</property>
|
||||
<property name="label" translatable="yes">_Interface start/stop:</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="mnemonic_widget">prefs-confirm-interface</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">0</property>
|
||||
<property name="top_attach">3</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkCheckButton" id="prefs-confirm-interface">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">False</property>
|
||||
<property name="draw_indicator">True</property>
|
||||
<signal name="toggled" handler="on_prefs_confirm_interface_toggled" swapped="no"/>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
<property name="top_attach">3</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
@ -957,7 +930,7 @@ Redirection:</property>
|
|||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">0</property>
|
||||
<property name="top_attach">5</property>
|
||||
<property name="top_attach">4</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
|
@ -970,7 +943,7 @@ Redirection:</property>
|
|||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
<property name="top_attach">5</property>
|
||||
<property name="top_attach">4</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
|
@ -984,7 +957,7 @@ Redirection:</property>
|
|||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">0</property>
|
||||
<property name="top_attach">6</property>
|
||||
<property name="top_attach">5</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
|
@ -998,7 +971,7 @@ Redirection:</property>
|
|||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
<property name="top_attach">6</property>
|
||||
<property name="top_attach">5</property>
|
||||
</packing>
|
||||
</child>
|
||||
</object>
|
||||
|
|
|
@ -335,8 +335,6 @@ class vmmConfig(object):
|
|||
return self.conf.get("/confirm/pause")
|
||||
def get_confirm_removedev(self):
|
||||
return self.conf.get("/confirm/removedev")
|
||||
def get_confirm_interface(self):
|
||||
return self.conf.get("/confirm/interface-power")
|
||||
def get_confirm_unapplied(self):
|
||||
return self.conf.get("/confirm/unapplied-dev")
|
||||
def get_confirm_delstorage(self):
|
||||
|
@ -350,8 +348,6 @@ class vmmConfig(object):
|
|||
self.conf.set("/confirm/pause", val)
|
||||
def set_confirm_removedev(self, val):
|
||||
self.conf.set("/confirm/removedev", val)
|
||||
def set_confirm_interface(self, val):
|
||||
self.conf.set("/confirm/interface-power", val)
|
||||
def set_confirm_unapplied(self, val):
|
||||
self.conf.set("/confirm/unapplied-dev", val)
|
||||
def set_confirm_delstorage(self, val):
|
||||
|
|
|
@ -57,7 +57,6 @@ class vmmPreferences(vmmGObjectUI):
|
|||
self.refresh_confirm_poweroff()
|
||||
self.refresh_confirm_pause()
|
||||
self.refresh_confirm_removedev()
|
||||
self.refresh_confirm_interface()
|
||||
self.refresh_confirm_unapplied()
|
||||
self.refresh_confirm_delstorage()
|
||||
|
||||
|
@ -86,7 +85,6 @@ class vmmPreferences(vmmGObjectUI):
|
|||
"on_prefs_confirm_poweroff_toggled": self.change_confirm_poweroff,
|
||||
"on_prefs_confirm_pause_toggled": self.change_confirm_pause,
|
||||
"on_prefs_confirm_removedev_toggled": self.change_confirm_removedev,
|
||||
"on_prefs_confirm_interface_toggled": self.change_confirm_interface,
|
||||
"on_prefs_confirm_unapplied_toggled": self.change_confirm_unapplied,
|
||||
"on_prefs_confirm_delstorage_toggled": self.change_confirm_delstorage,
|
||||
"on_prefs_btn_keys_define_clicked": self.change_grab_keys,
|
||||
|
@ -308,9 +306,6 @@ class vmmPreferences(vmmGObjectUI):
|
|||
def refresh_confirm_removedev(self):
|
||||
self.widget("prefs-confirm-removedev").set_active(
|
||||
self.config.get_confirm_removedev())
|
||||
def refresh_confirm_interface(self):
|
||||
self.widget("prefs-confirm-interface").set_active(
|
||||
self.config.get_confirm_interface())
|
||||
def refresh_confirm_unapplied(self):
|
||||
self.widget("prefs-confirm-unapplied").set_active(
|
||||
self.config.get_confirm_unapplied())
|
||||
|
@ -434,8 +429,6 @@ class vmmPreferences(vmmGObjectUI):
|
|||
self.config.set_confirm_pause(src.get_active())
|
||||
def change_confirm_removedev(self, src):
|
||||
self.config.set_confirm_removedev(src.get_active())
|
||||
def change_confirm_interface(self, src):
|
||||
self.config.set_confirm_interface(src.get_active())
|
||||
def change_confirm_unapplied(self, src):
|
||||
self.config.set_confirm_unapplied(src.get_active())
|
||||
def change_confirm_delstorage(self, src):
|
||||
|
|
Loading…
Reference in New Issue