[libgd] main-icon-box-child: Don't set use-markup on the GtkLabels
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgd] main-icon-box-child: Don't set use-markup on the GtkLabels
- Date: Fri, 18 Aug 2017 10:32:34 +0000 (UTC)
commit 98d91fc9426ed05cc0658cb7c580be8a83f9b925
Author: Debarshi Ray <debarshir gnome org>
Date: Sat Aug 12 14:44:14 2017 +0200
main-icon-box-child: Don't set use-markup on the GtkLabels
https://bugzilla.gnome.org/show_bug.cgi?id=786197
libgd/gd-main-icon-box-child.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/libgd/gd-main-icon-box-child.c b/libgd/gd-main-icon-box-child.c
index cfa3867..9529548 100644
--- a/libgd/gd-main-icon-box-child.c
+++ b/libgd/gd-main-icon-box-child.c
@@ -207,7 +207,6 @@ gd_main_icon_box_child_update_layout (GdMainIconBoxChild *self)
primary_label = gtk_label_new (NULL);
gtk_label_set_ellipsize (GTK_LABEL (primary_label), PANGO_ELLIPSIZE_MIDDLE);
- gtk_label_set_use_markup (GTK_LABEL (primary_label), TRUE);
g_object_bind_property (priv->item, "primary-text", primary_label, "label", G_BINDING_SYNC_CREATE);
gtk_container_add (GTK_CONTAINER (grid), primary_label);
}
@@ -219,7 +218,6 @@ gd_main_icon_box_child_update_layout (GdMainIconBoxChild *self)
secondary_label = gtk_label_new (NULL);
gtk_label_set_ellipsize (GTK_LABEL (secondary_label), PANGO_ELLIPSIZE_END);
- gtk_label_set_use_markup (GTK_LABEL (secondary_label), TRUE);
context = gtk_widget_get_style_context (secondary_label);
gtk_style_context_add_class (context, "dim-label");
g_object_bind_property (priv->item, "secondary-text", secondary_label, "label", G_BINDING_SYNC_CREATE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]