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

Re: [PATCH 6/7] minor: gtk.CellRendererText has no property 'active'.



On 09/08/2010 04:12 PM, Chris Lumens wrote:
diff --git a/pyanaconda/iw/DeviceSelector.py b/pyanaconda/iw/DeviceSelector.py
index 06e328c..084f974 100644
--- a/pyanaconda/iw/DeviceSelector.py
+++ b/pyanaconda/iw/DeviceSelector.py
@@ -61,7 +61,7 @@ class DeviceDisplayer(object):
          cell = gtk.CellRendererText()
          cell.set_property("yalign", 0)

-        col = gtk.TreeViewColumn(title, cell, text=num, active=self.active)
+        col = gtk.TreeViewColumn(title, cell, text=num)
          col.set_visible(displayed)
          col.set_expand(True)
          col.set_resizable(True)

You've verified that column sorting, adding, and hiding works after this
change?

- Chris

I tried just now in the filtering UI using the icon on the far right and everything works splendidly.

I'd say we need more classes like DeviceSelector in the UI: encapsulating all the good stuff and easily reusable.

Ales


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