[jhbuild: 31/60] [gui] fix adding up an existing module to the combobox



commit fa453166eb5dca55606116f2e3f154c85bf6b4fe
Author: Frédéric Péters <fpeters 0d be>
Date:   Mon May 18 13:19:00 2009 +0200

    [gui] fix adding up an existing module to the combobox
---
 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 fff043e..884d755 100644
--- a/jhbuild/frontends/gtkui.py
+++ b/jhbuild/frontends/gtkui.py
@@ -108,7 +108,7 @@ class AppWindow(gtk.Window, buildscript.BuildScript):
         for row in self.modules_list_model:
             row_value = self.modules_list_model.get(row.iter, 0)[0]
             if row_value == module:
-                modules_list_model.set_value(row.iter, 2, startat)
+                self.modules_list_model.set_value(row.iter, 2, startat)
                 return row.iter
 
         # add selected module in the list



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