notifications: Ellipsize the labels
This will help the window to fit narrow screens even with long application names.
This commit is contained in:
parent
42d64e3baf
commit
587ca5ce98
2 changed files with 4 additions and 0 deletions
|
@ -324,6 +324,8 @@ add_application (CcNotificationsPanel *panel,
|
|||
|
||||
w = gtk_label_new (app_name);
|
||||
gtk_widget_show (w);
|
||||
gtk_label_set_ellipsize (GTK_LABEL (w), PANGO_ELLIPSIZE_END);
|
||||
gtk_label_set_xalign (GTK_LABEL (w), 0.0f);
|
||||
gtk_container_add (GTK_CONTAINER (box), w);
|
||||
|
||||
w = gtk_label_new ("");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue