diff browser_side/base_widget.py @ 210:3092f6b1710c

browser side: make the OK button title for group selector configureable + few "cosmetic" changes (PEP 8...) fix bug 15 fix bug 33
author souliane <souliane@mailoo.org>
date Fri, 06 Sep 2013 15:40:33 +0200
parents aa76793da353
children 9b93a21dc5e2
line wrap: on
line diff
--- a/browser_side/base_widget.py	Fri Jun 28 00:06:31 2013 +0200
+++ b/browser_side/base_widget.py	Fri Sep 06 15:40:33 2013 +0200
@@ -155,9 +155,10 @@
         self.addStyleName('widgetHeader')
         LiberviaDragWidget.__init__(self, "", "WIDGET", parent)
 
+
 class LiberviaWidget(DropCell, VerticalPanel, ClickHandler):
     """Libervia's widget which can replace itself with a dropped widget on DnD"""
-    
+
     def __init__(self, host, title='', selectable=False):
         """Init the widget
         @param host: SatWebFrontend object
@@ -258,11 +259,11 @@
             rowspan_setter.setValue(1)
             width_setter.setValue(0)
             height_setter.setValue(0)
-        
+
         reset_bt = Button("Reset", onReset)
         body.add(reset_bt)
         body.setCellHorizontalAlignment(reset_bt, HasAlignment.ALIGN_CENTER)
-        
+
         _dialog = dialog.GenericDialog("Widget setting", body)
         _dialog.show()