Commit f22a8209 authored by Sébastien Lafargue's avatar Sébastien Lafargue

document-panel: fix markup when in dnd

https://bugzilla.gnome.org/show_bug.cgi?id=758707
parent c873e55e
......@@ -962,7 +962,8 @@ panel_on_drag_begin (GtkWidget *widget,
name = gtk_label_get_label (GTK_LABEL (GEDIT_DOCUMENTS_DOCUMENT_ROW (drag_document_row)->label));
label = gtk_label_new (name);
label = gtk_label_new (NULL);
gtk_label_set_markup (label, name);
gtk_label_set_ellipsize (GTK_LABEL (label), PANGO_ELLIPSIZE_END);
gtk_widget_set_halign (label, GTK_ALIGN_START);
gtk_widget_set_valign (label, GTK_ALIGN_CENTER);
......
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