[Xfce4-commits] [apps/xfdashboard] 01/01: Include error message from GError when creating directory monitor failed at FreeBSD

noreply at xfce.org noreply at xfce.org
Sat Nov 28 10:01:12 CET 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 71c9ad1e60afef802145f2de60e2609a7969a408
Author: Stephan Haller <nomad at froevel.de>
Date:   Sat Nov 28 10:00:36 2015 +0100

    Include error message from GError when creating directory monitor failed at FreeBSD
---
 xfdashboard/application-database.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/xfdashboard/application-database.c b/xfdashboard/application-database.c
index 4e5e6c2..f47eef8 100644
--- a/xfdashboard/application-database.c
+++ b/xfdashboard/application-database.c
@@ -919,8 +919,10 @@ static gboolean _xfdashboard_application_database_load_applications_recursive(Xf
 	if(!monitorData->monitor && error)
 	{
 #if defined(__unix__)
-		/* Workaround for FreeBSD with Glib bug (file/directory monitors cannot be created */
-		g_warning("[workaround for FreeBSD] Cannot initialize file monitor for path '%s' - will not detect changes", path);
+		/* Workaround for FreeBSD with Glib bug (file/directory monitors cannot be created) */
+		g_warning(_("[workaround for FreeBSD] Cannot initialize file monitor for path '%s' but will not fail: %s",
+					path,
+					error ? error->message : _("Unknown error"));
 
 		/* Clear error as this error will not fail at FreeBSD */
 		g_clear_error(&error);

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


More information about the Xfce4-commits mailing list