[jhbuild: 17/60] [gui] mark module starts in terminal widget



commit 196c68374c6df99bffc2af9e499d088a66facaf4
Author: Frédéric Péters <fpeters 0d be>
Date:   Sun May 17 00:23:28 2009 +0200

    [gui] mark module starts in terminal widget
---
 jhbuild/frontends/gtkui.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/jhbuild/frontends/gtkui.py b/jhbuild/frontends/gtkui.py
index 53754b6..5437e7e 100644
--- a/jhbuild/frontends/gtkui.py
+++ b/jhbuild/frontends/gtkui.py
@@ -47,6 +47,7 @@ import jhbuild.moduleset
 from jhbuild.modtypes import MetaModule
 from jhbuild.errors import CommandError
 
+from terminal import t_bold, t_reset
 
 
 class AppWindow(gtk.Window, buildscript.BuildScript):
@@ -209,6 +210,8 @@ class AppWindow(gtk.Window, buildscript.BuildScript):
     def start_module(self, module):
         idx = [x.name for x in self.modulelist].index(module)
         self.progressbar.set_fraction((1.0+idx) / len(self.modulelist))
+        if vte:
+            self.terminal.feed('%s*** %s ***%s\n\r' % (t_bold, module, t_reset))
 
     def set_action(self, action, module, module_num=-1, action_target=None):
         self.progressbar.set_text('%s %s' % (action, action_target or module.name))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]