summaryrefslogtreecommitdiff
path: root/src/nautilus-floating-bar.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2011-02-18 18:28:55 -0500
committerCosimo Cecchi <cosimoc@gnome.org>2011-02-18 18:28:55 -0500
commit56b249cc804bcea81d0308afe45ac2e5084dc6d7 (patch)
tree469b6b5463a3e5cfd54da557dddb8a9137a20603 /src/nautilus-floating-bar.c
parent695d067571292c6475761e1ae4c453615f611a00 (diff)
downloadnautilus-56b249cc804bcea81d0308afe45ac2e5084dc6d7.tar.gz
floating-bar: ellipsize the description label
Until we have a better way to truncate it at the right point when there's not enough space.
Diffstat (limited to 'src/nautilus-floating-bar.c')
-rw-r--r--src/nautilus-floating-bar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nautilus-floating-bar.c b/src/nautilus-floating-bar.c
index 48995fc12..10d8dfd83 100644
--- a/src/nautilus-floating-bar.c
+++ b/src/nautilus-floating-bar.c
@@ -196,6 +196,7 @@ nautilus_floating_bar_constructed (GObject *obj)
gtk_widget_set_margin_left (w, 8);
w = gtk_label_new (NULL);
+ gtk_label_set_ellipsize (GTK_LABEL (w), PANGO_ELLIPSIZE_END);
gtk_box_pack_start (GTK_BOX (box), w, FALSE, FALSE, 0);
g_object_set (w,
"margin-top", 6,