[gnome-control-center/benzea/fix-single-display-405: 10/12] display: Update apply button when switching output in "single" mode
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/benzea/fix-single-display-405: 10/12] display: Update apply button when switching output in "single" mode
- Date: Thu, 7 Mar 2019 19:04:03 +0000 (UTC)
commit 46b296275a27d551e1a13db4c92f7f388dd89a16
Author: Benjamin Berg <bberg redhat com>
Date: Thu Mar 7 18:56:13 2019 +0100
display: Update apply button when switching output in "single" mode
While the configuration was updated, the apply button was not synced.
This meant users could not switch the active monitor properly.
Fixes #405
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 4b7cd2359..f4af1b051 100644
--- a/panels/display/cc-display-panel.c
+++ b/panels/display/cc-display-panel.c
@@ -635,6 +635,8 @@ set_current_output (CcDisplayPanel *panel,
cc_display_monitor_set_active (output, TRUE);
if (panel->current_output)
cc_display_monitor_set_active (panel->current_output, FALSE);
+
+ update_apply_button (panel);
}
panel->current_output = output;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]