[gnome-disk-utility/udisks2-port] Only show the spinner if it's active



commit e3e7e857735cf700700340172f39153c63cb087d
Author: David Zeuthen <davidz redhat com>
Date:   Tue Nov 22 15:59:02 2011 -0500

    Only show the spinner if it's active
    
    ... otherwise it's taking up space, making the text appear truncated.
    
    Signed-off-by: David Zeuthen <davidz redhat com>

 src/palimpsest/gduwindow.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/palimpsest/gduwindow.c b/src/palimpsest/gduwindow.c
index 37f5f1b..1528270 100644
--- a/src/palimpsest/gduwindow.c
+++ b/src/palimpsest/gduwindow.c
@@ -898,6 +898,7 @@ gdu_window_constructed (GObject *object)
   gtk_tree_view_column_pack_end (column, renderer, FALSE);
   gtk_tree_view_column_set_attributes (column,
                                        renderer,
+                                       "visible", GDU_DEVICE_TREE_MODEL_COLUMN_JOBS_RUNNING,
                                        "active", GDU_DEVICE_TREE_MODEL_COLUMN_JOBS_RUNNING,
                                        "pulse", GDU_DEVICE_TREE_MODEL_COLUMN_PULSE,
                                        NULL);



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