[gnome-control-center/benzea/fix-single-display-405: 12/14] display: Update apply button when switching output in "single" mode
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/benzea/fix-single-display-405: 12/14] display: Update apply button when switching output in "single" mode
- Date: Mon, 11 Mar 2019 18:32:42 +0000 (UTC)
commit 75bf1b8cd1a317fdbe26e978d1c351b5b05b8285
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]