[jhbuild: 34/60] [gui] pass environment variables in the unexpected format needed by vte



commit e52388680f96df2bf5d24db8836aa6491b5a97ca
Author: Frédéric Péters <fpeters 0d be>
Date:   Mon May 18 16:16:04 2009 +0200

    [gui] pass environment variables in the unexpected format needed by vte
---
 jhbuild/frontends/gtkui.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/jhbuild/frontends/gtkui.py b/jhbuild/frontends/gtkui.py
index e7580a4..1360d97 100644
--- a/jhbuild/frontends/gtkui.py
+++ b/jhbuild/frontends/gtkui.py
@@ -440,7 +440,7 @@ class AppWindow(gtk.Window, buildscript.BuildScript):
 
             self.vte_fork_running = True
             self.child_pid = self.terminal.fork_command(command=command[0], argv=command,
-                    envv=env.items(), directory=cwd)
+                    envv=['%s=%s' % x for x in env.items()], directory=cwd)
             while self.vte_fork_running:
                 gtk.main_iteration()
             self.child_pid = None



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