[POS-commit] r5461 - kiwi/trunk/kiwi/ui

Johan Dahlin jdahlin at async.com.br
Mon Dec 4 17:55:02 BRST 2006


Author: jdahlin
Date: Mon Dec  4 17:55:01 2006
New Revision: 5461

Modified:
   kiwi/trunk/kiwi/ui/comboentry.py

Log:
Implement set_active() for ComboBox(Entry) compatibility


Modified: kiwi/trunk/kiwi/ui/comboentry.py
==============================================================================
--- kiwi/trunk/kiwi/ui/comboentry.py	(original)
+++ kiwi/trunk/kiwi/ui/comboentry.py	Mon Dec  4 17:55:01 2006
@@ -537,6 +537,9 @@
     def set_label_text(self, text):
         self._popup.set_label_text(text)
 
+    def set_active(self, rowno):
+        self.set_active_iter(self._model[rowno].iter)
+
     # IEasyCombo interface
 
     def clear(self):


More information about the POS-commit mailing list