diff frontends/src/primitivus/status.py @ 1184:62cba918cc63

Primitivus: fixed cancel button for status change
author Goffi <goffi@goffi.org>
date Mon, 08 Sep 2014 18:15:15 +0200
parents e2e1e27a3680
children 89dc29afe01c
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):