[Xfce4-commits] [apps/xfdashboard] 08/10: Fix setting pseudo-class ":insensitive" on actor's reactive state (it was wrongly added when reactive and vice versa)
noreply at xfce.org
noreply at xfce.org
Thu Jul 28 16:52:53 CEST 2016
This is an automated email from the git hooks/post-receive script.
nomad pushed a commit to branch master
in repository apps/xfdashboard.
commit d011b5b658a099bd6f47656863bdcd13ddb95a06
Author: Stephan Haller <nomad at froevel.de>
Date: Mon Jul 25 13:45:58 2016 +0200
Fix setting pseudo-class ":insensitive" on actor's reactive state (it was wrongly added when reactive and vice versa)
---
libxfdashboard/actor.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libxfdashboard/actor.c b/libxfdashboard/actor.c
index dd91fb6..ee4b76c 100644
--- a/libxfdashboard/actor.c
+++ b/libxfdashboard/actor.c
@@ -204,16 +204,16 @@ static void _xfdashboard_actor_on_reactive_changed(GObject *inObject,
self=XFDASHBOARD_ACTOR(inObject);
- /* Set pseudo-class ':insensitive' if actor is now not reactive
+ /* Add pseudo-class ':insensitive' if actor is now not reactive
* and remove this pseudo-class if actor is now reactive.
*/
if(clutter_actor_get_reactive(CLUTTER_ACTOR(self)))
{
- xfdashboard_stylable_add_pseudo_class(XFDASHBOARD_STYLABLE(self), "insensitive");
+ xfdashboard_stylable_remove_pseudo_class(XFDASHBOARD_STYLABLE(self), "insensitive");
}
else
{
- xfdashboard_stylable_remove_pseudo_class(XFDASHBOARD_STYLABLE(self), "insensitive");
+ xfdashboard_stylable_add_pseudo_class(XFDASHBOARD_STYLABLE(self), "insensitive");
}
/* Invalide styling to get it recomputed */
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list