summaryrefslogtreecommitdiff
path: root/portato/gui/windows/main.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-04-11 14:17:22 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-04-11 14:17:22 +0200
commit8242f343bd47e5154f8cb6143573811b24b09f49 (patch)
tree9788abdb19bbf7eef26c6c14adba190ed19349f1 /portato/gui/windows/main.py
parentf4be00322ff3e4627c0a94f1f8727cf98a77330c (diff)
downloadportato-8242f343bd47e5154f8cb6143573811b24b09f49.tar.gz
portato-8242f343bd47e5154f8cb6143573811b24b09f49.tar.bz2
portato-8242f343bd47e5154f8cb6143573811b24b09f49.zip
Some length restrictions
Diffstat (limited to '')
-rw-r--r--portato/gui/windows/main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py
index 32b6660..99739ae 100644
--- a/portato/gui/windows/main.py
+++ b/portato/gui/windows/main.py
@@ -1166,6 +1166,7 @@ class MainWindow (Window):
else:
title = ("%s (%s)") % (_("Console"), title)
+ if (len(title) > 60): title = "%s..." % title[:57]
self.sysNotebook.set_tab_label_text(self.termHB, title)
return False