diff browser_side/panels.py @ 75:4b4c0b9e2533

browser side: CSS: redesigned dialog boxes, and contacts
author Adrien Vigneron <adrienvigneron@mailoo.org>
date Sat, 18 Jun 2011 15:13:19 +0200
parents 447dc8ac181b
children 12680e220b35
line wrap: on
line diff
--- a/browser_side/panels.py	Sat Jun 18 02:04:06 2011 +0200
+++ b/browser_side/panels.py	Sat Jun 18 15:13:19 2011 +0200
@@ -156,7 +156,7 @@
         edit.setText('@libervia.org')
         edit.setWidth('100%')
         _dialog = dialog.GroupSelector([label, edit], self.host.contact_panel.getGroups(), [], addContactCb)
-        _dialog.setHTML('<b>Adding contact</b>')
+        _dialog.setHTML('Adding contact')
         _dialog.show()
 
     def onUpdateContact(self):
@@ -179,7 +179,7 @@
         _selected_groups = self.host.contact_panel.getContactGroups(_jid)
         _dialog = dialog.GroupSelector([Label('Which contact do you want to update ?'), _contacts_list],
                                        self.host.contact_panel.getGroups(), _selected_groups, updateContactCb)
-        _dialog.setHTML('<b>Updating contact</b>')
+        _dialog.setHTML('Updating contact')
         _dialog.show()
 
     def onRemoveContact(self):
@@ -233,7 +233,7 @@
         button_panel.add(Button("Cancel", onCancel))
         _main_panel.add(button_panel)
         _dialog = DialogBox(centered=True)
-        _dialog.setHTML('<b>Group discussions</b>')
+        _dialog.setHTML('Group discussions')
         _dialog.setWidget(_main_panel)
         _dialog.show()