Mercurial > libervia-web
diff src/browser/sat_browser/dialog.py @ 735:e4ae8e2b0afd
browser_side: improve PopupMenuPanel comments + rename a button + better PEP8 compliance
author | souliane <souliane@mailoo.org> |
---|---|
date | Thu, 19 Nov 2015 11:19:05 +0100 |
parents | 7a9c7b9f6a28 |
children | f8a7a046ff9c |
line wrap: on
line diff
--- a/src/browser/sat_browser/dialog.py Tue Nov 17 19:59:14 2015 +0100 +++ b/src/browser/sat_browser/dialog.py Thu Nov 19 11:19:05 2015 +0100 @@ -512,10 +512,10 @@ """ HorizontalPanel.__init__(self) self.groups = groups - self.add(Label('Add group:')) + self.add(Label('New group:')) self.textbox = ExtTextBox(enter_cb=self.onGroupInput) self.add(self.textbox) - self.add(Button("add", lambda sender: self.onGroupInput(self.textbox))) + self.add(Button("Add", lambda sender: self.onGroupInput(self.textbox))) self.cb = cb def onGroupInput(self, sender):