aboutsummaryrefslogtreecommitdiff
path: root/src/prepaid-manager-applet.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2011-06-09 18:44:37 +0200
committerGuido Günther <agx@sigxcpu.org>2011-06-09 18:44:37 +0200
commitc44bb1e2193bcbe09bbdb446994301ee01624b18 (patch)
tree48f2e96626aabda3aa0193e094f1898bf513b4d9 /src/prepaid-manager-applet.py
parente94c7ed0d9fa70e6ec13638e3e362d8fda167c5b (diff)
Wire up delete-event
Diffstat (limited to 'src/prepaid-manager-applet.py')
-rwxr-xr-xsrc/prepaid-manager-applet.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/prepaid-manager-applet.py b/src/prepaid-manager-applet.py
index 7ffa5be..378d8f7 100755
--- a/src/prepaid-manager-applet.py
+++ b/src/prepaid-manager-applet.py
@@ -332,6 +332,10 @@ class PPMDialog(GObject.GObject, PPMObject):
def on_close_clicked(self, dummy):
self.controller.quit()
+ def on_delete(self, event, dummy):
+ self.controller.quit()
+ return False
+
def on_balance_top_up_clicked(self, dummy):
self.clear_top_up_information()
self.controller.top_up_balance()