[PATCH] use the right (defined) variable



In gnomeglade.py, connect_signal_handlers(), the wrong variable name is used,
the widget list is in the "widget" variable...

-- 
Vincent Legoll
Index: gnomeglade.py
===================================================================
--- gnomeglade.py	(révision 1153)
+++ gnomeglade.py	(copie de travail)
@@ -127,7 +127,7 @@
                 widget = list(widget)
             except TypeError:
                 widget = [widget]
-            for w in widgets:
+            for w in widget:
                 try:
                     if when == 'on':
                         w.connect(signal, method)


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