aboutsummaryrefslogtreecommitdiff
path: root/src/prepaid-manager-applet.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2020-04-01 19:20:19 +0200
committerGuido Günther <agx@sigxcpu.org>2020-04-01 19:47:54 +0200
commitafd5075d8ae7459b767fce7b40ab46b73f0d5343 (patch)
treeaff2b04c6691ba470c6a122f7a2c2960b755cf09 /src/prepaid-manager-applet.py
parent91ed15f31d88f7f6217e2100ec0852fcc3d8fd0e (diff)
applet: Drop now superfluous close handling
We're using GtkApplication now
Diffstat (limited to 'src/prepaid-manager-applet.py')
-rwxr-xr-xsrc/prepaid-manager-applet.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/prepaid-manager-applet.py b/src/prepaid-manager-applet.py
index 1c0b79c..3302138 100755
--- a/src/prepaid-manager-applet.py
+++ b/src/prepaid-manager-applet.py
@@ -367,10 +367,6 @@ class PPMDialog(Gtk.ApplicationWindow):
self._setup_ui()
self.show()
- def close(self):
- self.hide()
- self.destroy()
-
@property
def info_bar_container(self):
"""The widget that contains the main info bar"""
@@ -379,15 +375,6 @@ class PPMDialog(Gtk.ApplicationWindow):
def get_top_up_code(self):
return self.entry_code.get_text().strip()
- @Gtk.Template.Callback("on_close_clicked")
- def on_close_clicked(self, dummy):
- self.controller.quit()
-
- @Gtk.Template.Callback("on_delete")
- def on_delete(self, event, dummy):
- self.controller.quit()
- return False
-
@Gtk.Template.Callback("on_balance_top_up_clicked")
def on_balance_top_up_clicked(self, dummy):
self.clear_top_up_information()