diff src/browser/sat_browser/panels.py @ 564:fed185c95f1c

browser_side: add XMLUI "int" widget type + historyPrint uses the new param "Chat history limit"
author souliane <souliane@mailoo.org>
date Fri, 03 Oct 2014 12:33:03 +0200
parents 77372641e05d
children ee9c7bd266ad
line wrap: on
line diff
--- a/src/browser/sat_browser/panels.py	Fri Oct 03 19:38:10 2014 +0200
+++ b/src/browser/sat_browser/panels.py	Fri Oct 03 12:33:03 2014 +0200
@@ -1252,7 +1252,7 @@
         self.occupants_list.addOccupant(new_nick)
         self.printInfo(_("%(old_nick)s is now known as %(new_nick)s") % {'old_nick': old_nick, 'new_nick': new_nick})
 
-    def historyPrint(self, size=20):
+    def historyPrint(self, size=C.HISTORY_LIMIT_DEFAULT):
         """Print the initial history"""
         def getHistoryCB(history):
             # display day change