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

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

 



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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux