diff --git a/shell/alt/cc-window.c b/shell/alt/cc-window.c index 967d741df..dbc6e5a8e 100644 --- a/shell/alt/cc-window.c +++ b/shell/alt/cc-window.c @@ -45,8 +45,6 @@ #define DEFAULT_WINDOW_ICON_NAME "preferences-system" -#define OVERVIEW_PAGE "_overview" - struct _CcWindow { GtkApplicationWindow parent; @@ -197,8 +195,7 @@ static void shell_show_overview_page (CcWindow *self) { cc_panel_list_set_view (CC_PANEL_LIST (self->panel_list), CC_PANEL_LIST_MAIN); - - gtk_stack_set_visible_child_name (GTK_STACK (self->stack), OVERVIEW_PAGE); + cc_panel_list_activate (CC_PANEL_LIST (self->panel_list)); if (self->current_panel_box) gtk_container_remove (GTK_CONTAINER (self->stack), self->current_panel_box); diff --git a/shell/window.ui b/shell/window.ui index f8a4e9b2d..4d11cbbd4 100644 --- a/shell/window.ui +++ b/shell/window.ui @@ -88,65 +88,6 @@ True True crossfade - - - True - False - vertical - 12 - True - center - center - - - True - False - 72 - preferences-system-symbolic - - - - False - True - 0 - - - - - True - False - Welcome to the Control Center - - - - - - - end - 2 - - - - - True - False - Select a panel in the sidelist to see the available options - - - - end - 1 - - - - - _overview - -