[gnome-flashback] input-sources: set css name for GfCandidateBox
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback] input-sources: set css name for GfCandidateBox
- Date: Mon, 18 Jan 2016 08:15:39 +0000 (UTC)
commit 8246b78147868bb4aad90116f6b77c8a708ca582
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Mon Jan 18 10:13:32 2016 +0200
input-sources: set css name for GfCandidateBox
.../libinput-sources/gf-candidate-box.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gnome-flashback/libinput-sources/gf-candidate-box.c
b/gnome-flashback/libinput-sources/gf-candidate-box.c
index 338445d..74fd0e8 100644
--- a/gnome-flashback/libinput-sources/gf-candidate-box.c
+++ b/gnome-flashback/libinput-sources/gf-candidate-box.c
@@ -68,8 +68,10 @@ static void
gf_candidate_box_class_init (GfCandidateBoxClass *box_class)
{
GObjectClass *object_class;
+ GtkWidgetClass *widget_class;
object_class = G_OBJECT_CLASS (box_class);
+ widget_class = GTK_WIDGET_CLASS (box_class);
object_class->set_property = gf_candidate_box_set_property;
@@ -79,6 +81,8 @@ gf_candidate_box_class_init (GfCandidateBoxClass *box_class)
G_PARAM_STATIC_STRINGS);
g_object_class_install_properties (object_class, LAST_PROP, properties);
+
+ gtk_widget_class_set_css_name (widget_class, "gf-candidate-box");
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]