summaryrefslogtreecommitdiff
path: root/panels/display
diff options
context:
space:
mode:
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2022-04-15 15:22:23 -0300
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2022-04-16 11:47:11 +0000
commite5a49dcf7bfb35531aa2267ee86b4435039e7793 (patch)
tree172c9df9524e18a45764b12cca3d2e80b5416fd4 /panels/display
parent214dc277b5b802f5db144de67c04dd7bb4e3dd8e (diff)
downloadgnome-control-center-e5a49dcf7bfb35531aa2267ee86b4435039e7793.tar.gz
display: Return to main page after applying changes
After applying a change, it is useful to see the new state of the monitors, so move back to the 'displays' page after applying.
Diffstat (limited to 'panels/display')
-rw-r--r--panels/display/cc-display-panel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/panels/display/cc-display-panel.c b/panels/display/cc-display-panel.c
index 47131ea0e..593328acc 100644
--- a/panels/display/cc-display-panel.c
+++ b/panels/display/cc-display-panel.c
@@ -991,6 +991,8 @@ apply_current_configuration (CcDisplayPanel *self)
if (error)
g_warning ("Error applying configuration: %s", error->message);
+
+ adw_leaflet_set_visible_child_name (self->leaflet, "displays");
}
static void