Mercurial > libervia-web
changeset 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 | 744426c2b699 |
children | 6efd189e8d78 |
files | browser_side/dialog.py libervia.py |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
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
--- 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('<b>Add contact request</b>') _dialog.show()