[gnome-builder/wip/chergert/hover] symbol-tree: ellipsize end of the symbol name



commit 8600ad73ea84a3f44a059a299a5162bff13b71b9
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jul 5 08:15:23 2018 +0200

    symbol-tree: ellipsize end of the symbol name

 src/plugins/symbol-tree/gbp-symbol-hover-provider.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/plugins/symbol-tree/gbp-symbol-hover-provider.c 
b/src/plugins/symbol-tree/gbp-symbol-hover-provider.c
index 9cba698c9..6cfaeb7ee 100644
--- a/src/plugins/symbol-tree/gbp-symbol-hover-provider.c
+++ b/src/plugins/symbol-tree/gbp-symbol-hover-provider.c
@@ -120,6 +120,7 @@ gbp_symbol_hover_provider_get_symbol_cb (GObject      *object,
   tt = g_strdup_printf ("<tt><span size='smaller'>%s</span></tt>", name);
   gtk_container_add (GTK_CONTAINER (box),
                      g_object_new (GTK_TYPE_LABEL,
+                                   "ellipsize", PANGO_ELLIPSIZE_END,
                                    "visible", TRUE,
                                    "xalign", 0.0f,
                                    "margin-bottom", 3,


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