[Xfce4-commits] [panel-plugins/xfce4-hardware-monitor-plugin] 27/29: Fix monitor type sync checkbutton initialisation

noreply at xfce.org noreply at xfce.org
Mon Dec 18 12:45:58 CET 2017


This is an automated email from the git hooks/post-receive script.

o   m   e   g   a   p   h   i   l       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-hardware-monitor-plugin.

commit 1ccfb0f151888370b9bbc0729c5770fa93c416da
Author: OmegaPhil <OmegaPhil at startmail.com>
Date:   Sun Dec 17 21:29:24 2017 +0000

    Fix monitor type sync checkbutton initialisation
---
 src/preferences-window.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/preferences-window.cpp b/src/preferences-window.cpp
index c2d277d..8b2662b 100644
--- a/src/preferences-window.cpp
+++ b/src/preferences-window.cpp
@@ -268,8 +268,8 @@ PreferencesWindow::PreferencesWindow(Plugin &plugin_, monitor_seq monitors)
   }
 
   // Monitor scale sharing per type in the view
-  if (plugin.get_viewer_monitor_type_sync_enabled())
-      monitor_type_sync_checkbutton->set_active();
+  monitor_type_sync_checkbutton->set_active(
+        plugin.get_viewer_monitor_type_sync_enabled());
 
   // Make sure background colorbutton is grayed out
   background_color_radiobutton->toggled();

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list