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:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user