[POS-commit] r106 - Kiwi2/Kiwi2

Evandro Vale Miquelito evandro at async.com.br
Thu Mar 10 18:34:57 BRT 2005


Author: evandro
Date: 2005-03-10 18:34:57 -0300 (Thu, 10 Mar 2005)
New Revision: 106

Modified:
   Kiwi2/Kiwi2/Views.py
Log:
Removing "win" as a reserved widget. self.toplevel attribute is now also our
win in this case.
r=lorenzo


Modified: Kiwi2/Kiwi2/Views.py
===================================================================
--- Kiwi2/Kiwi2/Views.py	2005-03-10 18:05:43 UTC (rev 105)
+++ Kiwi2/Kiwi2/Views.py	2005-03-10 21:34:57 UTC (rev 106)
@@ -209,7 +209,7 @@
         self.toplevel = toplevel or self.toplevel
         self.widgets = widgets or self.widgets or []
         
-        for reserved in ["win", "widgets", "toplevel", "gladefile",
+        for reserved in ["widgets", "toplevel", "gladefile",
                          "gladename", "tree", "model", "controller"]:
             # XXX: take into account widget constructor?
             if reserved in self.widgets:
@@ -535,7 +535,7 @@
         self.toplevel.connect_after("key_press_event", keypress_handler)
 
     #
-    # Proxying for self.win
+    # Proxying for self.toplevel
     #
     def set_transient_for(self, view):
         """Makes the view a transient for another view; this is commonly done



More information about the POS-commit mailing list