diff src/libeggsmclient/eggdesktopfile.c @ 4430:72443cd1061a

Add a note about possibility of session management not working if the .desktop-file is not found. I am not entirely sure if it prevents SM from working, but it seems like a logical possibility.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 09 Apr 2008 12:03:44 +0300
parents f207e3099f7f
children 7f318fa97ea3
line wrap: on
line diff
--- a/src/libeggsmclient/eggdesktopfile.c	Wed Apr 09 12:00:51 2008 +0300
+++ b/src/libeggsmclient/eggdesktopfile.c	Wed Apr 09 12:03:44 2008 +0300
@@ -1340,7 +1340,8 @@
   egg_desktop_file = egg_desktop_file_new (desktop_file_path, &error);
   if (error)
     {
-      g_warning ("Could not load desktop file '%s': %s",
+      g_warning ("Could not load desktop file '%s': %s"
+      " - Session management may not work now.",
 		 desktop_file_path, error->message);
       g_error_free (error);
       G_UNLOCK (egg_desktop_file);