summaryrefslogtreecommitdiff
path: root/portato/gui
diff options
context:
space:
mode:
authornecoro <>2006-12-29 01:48:41 +0000
committernecoro <>2006-12-29 01:48:41 +0000
commitf268e6d065e3cbb2d694889e37373c8fc3d55198 (patch)
tree9e132541981309a10a8719b5b738da50d14b03c8 /portato/gui
parente24a27421f04df124425499babe660db15246985 (diff)
downloadportato-f268e6d065e3cbb2d694889e37373c8fc3d55198.tar.gz
portato-f268e6d065e3cbb2d694889e37373c8fc3d55198.tar.bz2
portato-f268e6d065e3cbb2d694889e37373c8fc3d55198.zip
enhancement for the settings-handling (better reloading-support, moving into a class), enhanced update_world-check
Diffstat (limited to '')
-rw-r--r--portato/gui/gtk/windows.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/portato/gui/gtk/windows.py b/portato/gui/gtk/windows.py
index 913a004..eb5e3c5 100644
--- a/portato/gui/gtk/windows.py
+++ b/portato/gui/gtk/windows.py
@@ -696,13 +696,11 @@ class MainWindow (Window):
self.show_package(cp, self.queue)
def title_update (self, title):
- def caller(self, t):
- self.notebook.set_tab_label_text(self.termHB, t)
if title == None: title = "Console"
else: title = ("Console (%s)" % title)
- gobject.idle_add(caller, self, title)
+ gobject.idle_add(self.notebook.set_tab_label_text, self.termHB, title)
def cb_cat_list_selection (self, view):