changeset 1184:62cba918cc63

Primitivus: fixed cancel button for status change
author Goffi <goffi@goffi.org>
date Mon, 08 Sep 2014 18:15:15 +0200
parents f36d7068a44b
children 6184779544c7
files frontends/src/primitivus/status.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/frontends/src/primitivus/status.py	Mon Sep 08 18:14:51 2014 +0200
+++ b/frontends/src/primitivus/status.py	Mon Sep 08 18:15:15 2014 +0200
@@ -50,7 +50,7 @@
         if not self.host.bridge.isConnected(self.host.profile):
             return
         pop_up_widget = sat_widgets.InputDialog(_('Set your status'), _('New status'), default_txt=self.status.get_text(),
-                                                cancel_cb=lambda dummy: self.host.removePopUp, ok_cb=self.onChange)
+                                                cancel_cb=self.host.removePopUp, ok_cb=self.onChange)
         self.host.showPopUp(pop_up_widget)
 
     def onChange(self, sender=None, user_data=None):