Set list selection signals in glade, not code

This commit is contained in:
Cole Robinson
2013-09-22 16:29:58 -04:00
parent d338bce329
commit 6da801f944
14 changed files with 48 additions and 41 deletions

View File

@@ -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)