mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-29 18:47:38 +00:00
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:
parent
4b90ba2701
commit
a5b189093b
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user