date-chooser: Don't force showing the week numbers
This avoids breaking the state correctly set by the the binding on the previous instruction.
This commit is contained in:
@@ -577,7 +577,6 @@ gcal_date_chooser_init (GcalDateChooser *self)
|
|||||||
"visible",
|
"visible",
|
||||||
G_BINDING_SYNC_CREATE);
|
G_BINDING_SYNC_CREATE);
|
||||||
|
|
||||||
gtk_widget_show (self->rows[row]);
|
|
||||||
gtk_style_context_add_class (gtk_widget_get_style_context (self->rows[row]), "weeknum");
|
gtk_style_context_add_class (gtk_widget_get_style_context (self->rows[row]), "weeknum");
|
||||||
gtk_grid_attach (GTK_GRID (self->grid), self->rows[row], -1, row, 1, 1);
|
gtk_grid_attach (GTK_GRID (self->grid), self->rows[row], -1, row, 1, 1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user