diff browser_side/panels.py @ 66:9d8e79ac4c9c

Login/Register box: integration of Adrien Vigneron's design
author Goffi <goffi@goffi.org>
date Wed, 15 Jun 2011 00:52:02 +0200
parents 12e889a683ce
children c335675eef7c
line wrap: on
line diff
--- a/browser_side/panels.py	Wed Jun 15 00:49:34 2011 +0200
+++ b/browser_side/panels.py	Wed Jun 15 00:52:02 2011 +0200
@@ -3,7 +3,7 @@
 
 """
 Libervia: a Salut à Toi frontend
-Copyright (C) 2011  Jérôme Poisson (goffi@goffi.org)
+Copyright (C) 2011  Jérôme Poisson <goffi@goffi.org>
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU Affero General Public License as published by
@@ -749,9 +749,8 @@
     def __init__(self, host):
         TabPanel.__init__(self)
         self.host=host
-        TabPanel()
         self.tabBar.setVisible(False)
-        self.addStyleName('mainTabPanel')
+        self.setStyleName('mainTabPanel')
         Window.addWindowResizeListener(self)
 
     def onWindowResized(self, width, height):