summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <SmSpillaz@gmail.com>2010-06-06 17:54:19 +0800
committerSam Spilsbury <SmSpillaz@gmail.com>2010-06-06 17:54:19 +0800
commit4cd187f311accabc8c975e3a2751c72433419b08 (patch)
tree916d208aa9b9f0ebb05cdd100cdcfec7997818f0
parent0365dd8398946ec02d2946464a5607dc49b82908 (diff)
parentd251e449215a5640df2389e2199a443bbbac49a4 (diff)
downloadccsm-4cd187f311accabc8c975e3a2751c72433419b08.tar.gz
ccsm-4cd187f311accabc8c975e3a2751c72433419b08.tar.bz2
Merge branch 'master' of git+ssh://git.compiz.org/git/compiz/compizconfig/ccsm
-rw-r--r--ccm/Widgets.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/ccm/Widgets.py b/ccm/Widgets.py
index 499b21b..ff61628 100644
--- a/ccm/Widgets.py
+++ b/ccm/Widgets.py
@@ -1192,7 +1192,7 @@ class MatchButton(gtk.Button):
dlg.show_all ()
response = dlg.run ()
- dlg.destroy ()
+ dlg.hide ()
if response == gtk.RESPONSE_OK:
type = type_chooser.get_active_text ()
value = entry.get_text ()
@@ -1200,6 +1200,8 @@ class MatchButton(gtk.Button):
invert = check.get_active ()
self.generate_match (type, value, relation, invert)
+ dlg.destroy ()
+
class FileButton (gtk.Button):
__gsignals__ = {"changed" : (gobject.SIGNAL_RUN_FIRST,
gobject.TYPE_NONE,