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

noreply at xfce.org noreply at xfce.org
Fri Feb 15 00:27:44 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       o   c   h   o   s   i   /   c   o   l   o   r   d   
   in repository xfce/xfce4-settings.

commit 3250e72eb5a326822c86ce903235827eeb9f0e97
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