display: Make rows created for a new current output be the same size
We need the rows size group to exist when creating output UIs.
This commit is contained in:
parent
0a0ac31b51
commit
566b0c137c
1 changed files with 5 additions and 0 deletions
|
@ -1530,9 +1530,14 @@ static void
|
|||
replace_current_output_ui (GtkWidget *frame,
|
||||
CcDisplayPanel *panel)
|
||||
{
|
||||
CcDisplayPanelPrivate *priv = panel->priv;
|
||||
priv->rows_size_group = gtk_size_group_new (GTK_SIZE_GROUP_BOTH);
|
||||
|
||||
gtk_widget_destroy (gtk_bin_get_child (GTK_BIN (frame)));
|
||||
gtk_container_add (GTK_CONTAINER (frame), make_output_ui (panel));
|
||||
gtk_widget_show_all (frame);
|
||||
|
||||
g_clear_object (&priv->rows_size_group);
|
||||
}
|
||||
|
||||
static guint
|
||||
|
|
Loading…
Add table
Reference in a new issue