diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2012-01-30 17:52:44 -0500 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2012-01-31 10:04:26 -0500 |
commit | a5b189093b253657ffad766eeff65da8ec2b178d (patch) | |
tree | cf251b0e80fd9bbd7470fe3010ae7db4792a9580 /gtk/gtkcellrenderer.c | |
parent | 4b90ba2701fa367a46455502850aea5bf5835622 (diff) | |
download | gtk+-a5b189093b253657ffad766eeff65da8ec2b178d.tar.gz |
cell-renderer: add the CELL style class to the editing widget
When we create an editing widget, add the CELL style class to it, for
identification by the themes.
Diffstat (limited to 'gtk/gtkcellrenderer.c')
-rw-r--r-- | gtk/gtkcellrenderer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkcellrenderer.c b/gtk/gtkcellrenderer.c index d701b74c4f..3e9529489a 100644 --- a/gtk/gtkcellrenderer.c +++ b/gtk/gtkcellrenderer.c @@ -865,6 +865,8 @@ gtk_cell_renderer_start_editing (GtkCellRenderer *cell, (GdkRectangle *) background_area, (GdkRectangle *) cell_area, flags); + gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (editable)), + GTK_STYLE_CLASS_CELL); g_signal_emit (cell, cell_renderer_signals[EDITING_STARTED], 0, |