[gnome-music/wip/merge: 191/343] widgets: correctly hide columns



commit 255bbe2f9f95e112b716e2fcc7fe3f35c5d8c34b
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Tue Jul 16 18:31:32 2013 +0200

    widgets: correctly hide columns

 gnomemusic/widgets.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/widgets.py b/gnomemusic/widgets.py
index 7dca2ef..c539edd 100644
--- a/gnomemusic/widgets.py
+++ b/gnomemusic/widgets.py
@@ -122,8 +122,8 @@ class AlbumWidget(Gtk.EventBox):
         cols[0].set_min_width(310)
         cols[0].set_max_width(470)
         cells = cols[0].get_cells()
-        cells[2].visible = False
-        cells[1].visible = False
+        cells[2].set_visible(False)
+        cells[1].set_visible(False)
 
         now_playing_symbol_renderer = Gtk.CellRendererPixbuf(xpad=0)
 


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