Commit 80f8e503 authored by António Fernandes's avatar António Fernandes 🐚
Browse files

nautilus-share-bar: Ellipsize label

Long labels can force the nautilus window to become too wide.

Allow ellipsization to prevent this disruption of window sizing.

Fixes #26
parent 7863e985
Pipeline #245471 passed with stage
in 2 minutes and 5 seconds
......@@ -105,6 +105,7 @@ nautilus_share_bar_init (NautilusShareBar *bar)
gtk_container_add (GTK_CONTAINER (vbox), label);
bar->priv->label = gtk_label_new (NULL);
gtk_label_set_ellipsize (GTK_LABEL (bar->priv->label), PANGO_ELLIPSIZE_END);
gtk_widget_set_halign (bar->priv->label, GTK_ALIGN_START);
gtk_widget_show (bar->priv->label);
gtk_container_add (GTK_CONTAINER (vbox), bar->priv->label);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment