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.
This commit is contained in:
Cosimo Cecchi 2012-01-30 17:52:44 -05:00
parent 4b90ba2701
commit a5b189093b

View File

@ -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,