[gtk+/gtk-3-20] Accel cell renderer: Set a css name
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-20] Accel cell renderer: Set a css name
- Date: Wed, 30 Mar 2016 23:53:07 +0000 (UTC)
commit 79a2edd840c888a781b1a2cd061530d91a79f1e9
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Mar 30 17:08:02 2016 -0400
Accel cell renderer: Set a css name
Give the event box we use here the distinctive name "acceleditor".
gtk/gtkcellrendereraccel.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcellrendereraccel.c b/gtk/gtkcellrendereraccel.c
index d3476dd..e8fce86 100644
--- a/gtk/gtkcellrendereraccel.c
+++ b/gtk/gtkcellrendereraccel.c
@@ -739,6 +739,8 @@ gtk_cell_editable_event_box_class_init (GtkCellEditableEventBoxClass *class)
g_object_class_install_property (object_class, PROP_PATH,
g_param_spec_string ("path", NULL, NULL,
NULL, GTK_PARAM_READWRITE));
+
+ gtk_widget_class_set_css_name (widget_class, "acceleditor");
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]