mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-15 14:50:06 +00:00
columnviewcolumn: Fix visibility implementation
We were not properly syncing initial visibility with widgets.
This commit is contained in:
parent
0266bcab7a
commit
b62564fd98
@ -318,6 +318,7 @@ gtk_column_view_column_add_cell (GtkColumnViewColumn *self,
|
||||
{
|
||||
self->first_cell = cell;
|
||||
|
||||
gtk_widget_set_visible (GTK_WIDGET (cell), self->visible);
|
||||
gtk_column_view_column_queue_resize (self);
|
||||
}
|
||||
|
||||
@ -454,6 +455,7 @@ gtk_column_view_column_create_header (GtkColumnViewColumn *self)
|
||||
return;
|
||||
|
||||
self->header = gtk_column_view_title_new (self);
|
||||
gtk_widget_set_visible (self->header, self->visible);
|
||||
gtk_list_item_widget_add_child (gtk_column_view_get_header_widget (self->view),
|
||||
self->header);
|
||||
gtk_column_view_column_queue_resize (self);
|
||||
|
Loading…
Reference in New Issue
Block a user