diff browser_side/dialog.py @ 227:67e24c342e7f

browser_side: bug fix for changeset 3092f6b1710c OK button title was not set for the "Add contact request" dialog
author souliane <souliane@mailoo.org>
date Mon, 07 Oct 2013 14:23:16 +0200
parents f3a5a094c8d6
children fab7aa366576
line wrap: on
line diff
--- a/browser_side/dialog.py	Thu Sep 26 14:32:24 2013 +0200
+++ b/browser_side/dialog.py	Mon Oct 07 14:23:16 2013 +0200
@@ -207,7 +207,7 @@
 class GroupSelector(DialogBox):
 
     def __init__(self, top_widgets, initial_groups, selected_groups,
-                 ok_title, ok_cb = None, cancel_cb = None):
+                 ok_title="OK", ok_cb=None, cancel_cb=None):
         DialogBox.__init__(self, centered = True)
         main_panel = VerticalPanel()
         self.ok_cb = ok_cb