[gedit/gnome-3-18] document-panel: fix markup when in dnd
- From: Sébastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/gnome-3-18] document-panel: fix markup when in dnd
- Date: Fri, 27 Nov 2015 17:06:19 +0000 (UTC)
commit f0cb5f17f701f41e9b39de5c29215661bfd905d9
Author: Sebastien Lafargue <slafargue gnome org>
Date: Fri Nov 27 17:50:37 2015 +0100
document-panel: fix markup when in dnd
https://bugzilla.gnome.org/show_bug.cgi?id=758707
gedit/gedit-documents-panel.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gedit/gedit-documents-panel.c b/gedit/gedit-documents-panel.c
index 607d061..42bd2b1 100644
--- a/gedit/gedit-documents-panel.c
+++ b/gedit/gedit-documents-panel.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]