Commit 0a6a32ce authored by Tobias Ellinghaus's avatar Tobias Ellinghaus

bg jobs: Ellipsize label when too long

Thanks st-gourichon-f for reporting.
parent 019f4b08
......@@ -168,6 +168,7 @@ static void *_lib_backgroundjobs_added(dt_lib_module_t *self, gboolean has_progr
/* add job label */
instance->label = gtk_label_new(message);
gtk_widget_set_halign(instance->label, GTK_ALIGN_START);
gtk_label_set_ellipsize(GTK_LABEL(instance->label), PANGO_ELLIPSIZE_END);
gtk_box_pack_start(GTK_BOX(instance->hbox), GTK_WIDGET(instance->label), TRUE, TRUE, 0);
gtk_box_pack_start(GTK_BOX(vbox), GTK_WIDGET(instance->hbox), TRUE, TRUE, 0);
......
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