diff browser_side/panels.py @ 22:586f69e85559

browser_side: removed some useless mess + changed delay for warning message to 2s
author Goffi <goffi@goffi.org>
date Sun, 17 Apr 2011 00:38:33 +0200
parents 8f4b1a8914c3
children 0ce2a57b34ca
line wrap: on
line diff
--- a/browser_side/panels.py	Sun Apr 17 00:21:44 2011 +0200
+++ b/browser_side/panels.py	Sun Apr 17 00:38:33 2011 +0200
@@ -127,7 +127,6 @@
             _new_panel = MicroblogPanel(self.host, accept_all=True)
         self.host.mpanels.remove(self)
         self.host.mpanels.append(_new_panel)
-        print "DEBUG"
         grid = self.getParent()
         row_idx, cell_idx = self._getCellAndRow(grid, event)
         self.removeFromParent()
@@ -236,10 +235,6 @@
 
     def __init__(self, timestamp, nick, mymess, msg):
         _date = datetime.fromtimestamp(float(timestamp or time()))
-        print "DEBUG"
-        print timestamp
-        print time()
-        print _date
         _msg_class = ["chat_text_msg"]
         if mymess:
             _msg_class.append("chat_text_mymess")
@@ -319,8 +314,6 @@
         self.setHeight('100%')
 
     def changePanel(self, idx, panel):
-        print "panel:",panel
-        print "idx:",idx
         self._right.setWidget(0,idx,panel)
 
 class MainPanel(VerticalPanel):