[rhythmbox] property-view: Use ellipsize to avoid property value / count from being hidden



commit 7a0601baf86c64ce95d5b07b4b11bdf2b473fd31
Author: vrishab <gnome vrb gmail com>
Date:   Sun Nov 13 15:14:11 2016 +1000

    property-view: Use ellipsize to avoid property value / count from being hidden
    
    https://bugzilla.gnome.org/show_bug.cgi?id=774336

 widgets/rb-property-view.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/widgets/rb-property-view.c b/widgets/rb-property-view.c
index 7fd58eb..d6f1927 100644
--- a/widgets/rb-property-view.c
+++ b/widgets/rb-property-view.c
@@ -678,6 +678,7 @@ rb_property_view_cell_data_func (GtkTreeViewColumn *column,
 
        g_object_set (G_OBJECT (renderer), "text", str,
                      "weight", G_UNLIKELY (is_all) ? PANGO_WEIGHT_BOLD : PANGO_WEIGHT_NORMAL,
+                     "ellipsize", PANGO_ELLIPSIZE_MIDDLE,
                      NULL);
        g_free (str);
        g_free (title);


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