[gnome-control-center/gbsneto/display-panel-polish: 3/3] display: Return to main page after applying changes
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gbsneto/display-panel-polish: 3/3] display: Return to main page after applying changes
- Date: Fri, 15 Apr 2022 18:23:35 +0000 (UTC)
commit c4dd1a1ec7431598da59cada0828bc7c904943e6
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Fri Apr 15 15:22:23 2022 -0300
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.
panels/display/cc-display-panel.c | 2 ++
1 file changed, 2 insertions(+)
---
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]