[Xfce4-commits] [xfce/xfce4-settings] 14/57: color: Fix initial state of "color_device->enabled"

noreply at xfce.org noreply at xfce.org
Thu Mar 21 22:14:02 CET 2019


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

o   c   h   o   s   i       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 xfce/xfce4-settings.

commit 3b5f04b56a694e242e9ab4c5f124ee8f98c75484
Author: Florian Schüller <florian.schueller at gmail.com>
Date:   Wed Feb 6 00:50:58 2019 +0100

    color: Fix initial state of "color_device->enabled"
---
 dialogs/color-settings/color-device.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dialogs/color-settings/color-device.c b/dialogs/color-settings/color-device.c
index f24d03c..df49058 100644
--- a/dialogs/color-settings/color-device.c
+++ b/dialogs/color-settings/color-device.c
@@ -318,6 +318,8 @@ color_device_constructed (GObject *object)
   sortable_tmp = color_device_get_sortable_base (color_device->device);
   color_device->sortable = g_strdup_printf ("%sXX", sortable_tmp);
 
+  color_device->enabled = cd_device_get_enabled (color_device->device);
+
   color_device_refresh (color_device);
 
   /* watch to see if the user flicked the switch */

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


More information about the Xfce4-commits mailing list