[gnome-control-center/gbsneto/display-panel-polish: 4/4] 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: 4/4] display: Return to main page after applying changes
- Date: Sat, 16 Apr 2022 11:47:12 +0000 (UTC)
commit e5a49dcf7bfb35531aa2267ee86b4435039e7793
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]