[libgd] main-icon-box-child: Use the content-tile style class for theming
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgd] main-icon-box-child: Use the content-tile style class for theming
- Date: Fri, 27 Jan 2017 13:58:40 +0000 (UTC)
commit f7424f67689d47c332137b9305ff850be2340dbb
Author: Debarshi Ray <debarshir gnome org>
Date: Fri Jan 27 14:55:39 2017 +0100
main-icon-box-child: Use the content-tile style class for theming
libgd/gd-main-icon-box-child.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libgd/gd-main-icon-box-child.c b/libgd/gd-main-icon-box-child.c
index 523192e..84a1958 100644
--- a/libgd/gd-main-icon-box-child.c
+++ b/libgd/gd-main-icon-box-child.c
@@ -344,6 +344,10 @@ gd_main_icon_box_child_set_property (GObject *object, guint property_id, const G
static void
gd_main_icon_box_child_init (GdMainIconBoxChild *self)
{
+ GtkStyleContext *context;
+
+ context = gtk_widget_get_style_context (GTK_WIDGET (self));
+ gtk_style_context_add_class (context, "content-tile");
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]