From 8242f343bd47e5154f8cb6143573811b24b09f49 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Fri, 11 Apr 2008 14:17:22 +0200 Subject: Some length restrictions --- portato/gui/windows/main.py | 1 + 1 file changed, 1 insertion(+) (limited to 'portato/gui/windows/main.py') 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 -- cgit v1.2.3-54-g00ecf