[gnome-control-center/benzea/fix-single-display-405: 2/4] 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: 2/4] display: Update apply button when switching output in "single" mode
- Date: Thu, 7 Mar 2019 18:39:20 +0000 (UTC)
commit f285f0fea0455c75828f0a74c932cfd20d3c0db3
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]