diff options
author | Walter Bender <walter@sugarlabs.org> | 2014-01-14 18:22:31 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2014-01-14 18:22:31 (GMT) |
commit | 683c680773852661a4e0ebb1bd2302eaff6f8e65 (patch) | |
tree | 30eb709335302e7eb0c2172b35c144d5130cc244 /icondialog.py | |
parent | d82e2794dcc23bf55cf6cba5ce2aa0c6fc524d5d (diff) |
fix window order bug
Diffstat (limited to 'icondialog.py')
-rw-r--r-- | icondialog.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/icondialog.py b/icondialog.py index 1087d8a..3acc46a 100644 --- a/icondialog.py +++ b/icondialog.py @@ -82,6 +82,8 @@ class IconDialog(Gtk.Window): def __init__(self): Gtk.Window.__init__(self) + self.set_destroy_with_parent(True) + self.theme = Gtk.IconTheme.get_default() self.theme.append_search_path(get_documents_path()) @@ -179,4 +181,4 @@ class IconDialog(Gtk.Window): icon_path = model.get(iter_, 2)[0] self._icon = icon_path - self.destroy()
\ No newline at end of file + self.destroy() |