From 5e87c5be785d3f9c49aa4f9306bad42864858aa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Tue, 25 Mar 2008 14:45:12 +0100 Subject: Added option to disable console title update --- portato/gui/windows/main.py | 2 +- portato/gui/windows/preference.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'portato/gui/windows') diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py index 7ddd868..e841cb4 100644 --- a/portato/gui/windows/main.py +++ b/portato/gui/windows/main.py @@ -1118,7 +1118,7 @@ class MainWindow (Window): self.tray.set_tooltip(title) window_title_update(title) - if title is None: + if title is None or not self.cfg.get_boolean("updateConsole", "GUI"): title = _("Console") else: title = ("%s (%s)") % (_("Console"), title) diff --git a/portato/gui/windows/preference.py b/portato/gui/windows/preference.py index 04cd329..079a80d 100644 --- a/portato/gui/windows/preference.py +++ b/portato/gui/windows/preference.py @@ -33,6 +33,7 @@ class PreferenceWindow (AbstractDialog): "systrayCheck" : ("showSystray", "GUI"), "testPerVersionCheck" : "keywordPerVersion", "titleUpdateCheck" : ("updateTitle", "GUI"), + "consoleUpdateCheck" : ("updateConsole", "GUI"), "usePerVersionCheck" : "usePerVersion" } -- cgit v1.2.3