[Xfce4-commits] [apps/xfdashboard] 01/01: Fix bug that pinned windows are not shown at newly created (but not current) workspace at XfdashboardLiveWorkspace

noreply at xfce.org noreply at xfce.org
Thu Jun 11 22:27:25 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 42e1862cbba95c4e63e74b64ecde7fde15e5b9e5
Author: Stephan Haller <nomad at froevel.de>
Date:   Thu Jun 11 22:26:40 2015 +0200

    Fix bug that pinned windows are not shown at newly created (but not current) workspace at XfdashboardLiveWorkspace
---
 xfdashboard/live-workspace.c |   11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/xfdashboard/live-workspace.c b/xfdashboard/live-workspace.c
index 48bf858..a6fba4d 100644
--- a/xfdashboard/live-workspace.c
+++ b/xfdashboard/live-workspace.c
@@ -931,16 +931,11 @@ void xfdashboard_live_workspace_set_workspace(XfdashboardLiveWorkspace *self, Xf
 		window=XFDASHBOARD_WINDOW_TRACKER_WINDOW(windows->data);
 		if(!window) continue;
 
-		/* Create window actor if window is visible */
+		/* Create window actor only if window is visible */
 		if(!_xfdashboard_live_workspace_is_visible_window(self, window)) continue;
 
-		actor=clutter_actor_new();
-		content=xfdashboard_window_content_new_for_window(window);
-		clutter_actor_set_content(actor, content);
-		g_object_unref(content);
-
-		/* Insert new actor at bottom */
-		clutter_actor_insert_child_above(CLUTTER_ACTOR(self), actor, NULL);
+		/* Create actor for window */
+		_xfdashboard_live_workspace_create_and_add_window_actor(self, window);
 	}
 
 	/* Notify about property change */

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


More information about the Xfce4-commits mailing list