[Xfce4-commits] [apps/xfdashboard] 04/04: Set CSS class 'is-favourite-app' for dragged preview icon to get it included in list of favourites when drag'n'drop action ends and property is updated
noreply at xfce.org
noreply at xfce.org
Thu Sep 3 09:00:36 CEST 2015
This is an automated email from the git hooks/post-receive script.
nomad pushed a commit to branch master
in repository apps/xfdashboard.
commit 088e265bf6326a45912dc41a91b9f0a543f47aab
Author: Stephan Haller <nomad at froevel.de>
Date: Thu Sep 3 08:59:30 2015 +0200
Set CSS class 'is-favourite-app' for dragged preview icon to get it included in list of favourites when drag'n'drop action ends and property is updated
---
xfdashboard/quicklaunch.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/xfdashboard/quicklaunch.c b/xfdashboard/quicklaunch.c
index 27ea9f4..7c372a5 100644
--- a/xfdashboard/quicklaunch.c
+++ b/xfdashboard/quicklaunch.c
@@ -543,6 +543,11 @@ static void _xfdashboard_quicklaunch_on_drop_drop(XfdashboardQuicklaunch *self,
/* Emit signal for newly added favourite */
g_signal_emit(self, XfdashboardQuicklaunchSignals[SIGNAL_FAVOURITE_ADDED], 0, appInfo);
}
+
+ /* Set CSS class for favourite to get it included when property is updated
+ * in function _xfdashboard_quicklaunch_update_property_from_icons.
+ */
+ xfdashboard_stylable_add_class(XFDASHBOARD_STYLABLE(priv->dragPreviewIcon), "is-favourite-app");
}
/* If drag mode is reorder move originally dragged application icon
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list