Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/icondialog.py
diff options
context:
space:
mode:
authorWalter Bender <walter@sugarlabs.org>2014-01-14 18:22:31 (GMT)
committer Walter Bender <walter@sugarlabs.org>2014-01-14 18:22:31 (GMT)
commit683c680773852661a4e0ebb1bd2302eaff6f8e65 (patch)
tree30eb709335302e7eb0c2172b35c144d5130cc244 /icondialog.py
parentd82e2794dcc23bf55cf6cba5ce2aa0c6fc524d5d (diff)
fix window order bug
Diffstat (limited to 'icondialog.py')
-rw-r--r--icondialog.py4
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()