[Xfce4-commits] [apps/xfdashboard] 03/04: Initialize plugin manager as last component when all other components are available and initialized but before the theme is loaded and the stage created.
noreply at xfce.org
noreply at xfce.org
Mon Jun 20 09:48:22 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 f70f3f4ccdfc69fb613e7eb7246b1fe4bbce148b
Author: Stephan Haller <nomad at froevel.de>
Date: Mon Jun 20 08:54:44 2016 +0200
Initialize plugin manager as last component when all other components are available and initialized but before the theme is loaded and the stage created.
---
libxfdashboard/application.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/libxfdashboard/application.c b/libxfdashboard/application.c
index d1b913d..b728d31 100644
--- a/libxfdashboard/application.c
+++ b/libxfdashboard/application.c
@@ -431,6 +431,11 @@ static gboolean _xfdashboard_application_initialize_full(XfdashboardApplication
xfdashboard_search_manager_register(priv->searchManager, "builtin.applications", XFDASHBOARD_TYPE_APPLICATIONS_SEARCH_PROVIDER);
+ /* Create single-instance of focus manager to keep it alive while
+ * application is running.
+ */
+ priv->focusManager=xfdashboard_focus_manager_get_default();
+
/* Create single-instance of plugin manager to keep it alive while
* application is running.
*/
@@ -447,11 +452,6 @@ static gboolean _xfdashboard_application_initialize_full(XfdashboardApplication
return(FALSE);
}
- /* Create single-instance of focus manager to keep it alive while
- * application is running.
- */
- priv->focusManager=xfdashboard_focus_manager_get_default();
-
/* Set up and load theme */
priv->xfconfThemeChangedSignalID=xfconf_g_property_bind(priv->xfconfChannel,
THEME_NAME_XFCONF_PROP,
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list