# HG changeset patch # User souliane # Date 1381148596 -7200 # Node ID 67e24c342e7ffa2ca41259b3e4f7a6515e53f029 # Parent 744426c2b699b4419944bf7785c0143e86fc0132 browser_side: bug fix for changeset 3092f6b1710c OK button title was not set for the "Add contact request" dialog diff -r 744426c2b699 -r 67e24c342e7f browser_side/dialog.py --- 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 diff -r 744426c2b699 -r 67e24c342e7f libervia.py --- a/libervia.py Thu Sep 26 14:32:24 2013 +0200 +++ b/libervia.py Mon Oct 07 14:23:16 2013 +0200 @@ -546,7 +546,7 @@ def cancel_cb(ignore): self.bridge.call('subscription', None, "unsubscribed", entity, '', '') - _dialog = dialog.GroupSelector([msg], self.contact_panel.getGroups(), [], ok_cb, cancel_cb) + _dialog = dialog.GroupSelector([msg], self.contact_panel.getGroups(), [], "Add", ok_cb, cancel_cb) _dialog.setHTML('Add contact request') _dialog.show()