mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
Set list selection signals in glade, not code
This commit is contained in:
@@ -77,13 +77,12 @@ class vmmSnapshotPage(vmmGObjectUI):
|
||||
"on_snapshot_new_delete_event": self._snapshot_new_close,
|
||||
"on_snapshot_new_ok_clicked": self._on_new_ok_clicked,
|
||||
"on_snapshot_new_cancel_clicked" : self._snapshot_new_close,
|
||||
"on_snapshot_list_changed": self._snapshot_selected,
|
||||
})
|
||||
|
||||
self.top_box = self.widget("snapshot-top-box")
|
||||
self.widget("snapshot-top-window").remove(self.top_box)
|
||||
|
||||
self.widget("snapshot-list").get_selection().connect("changed",
|
||||
self._snapshot_selected)
|
||||
self._set_snapshot_state(None)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user