gnome-session r5069 - in trunk: . gnome-session
- From: mccann svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-session r5069 - in trunk: . gnome-session
- Date: Mon, 8 Sep 2008 21:06:32 +0000 (UTC)
Author: mccann
Date: Mon Sep 8 21:06:32 2008
New Revision: 5069
URL: http://svn.gnome.org/viewvc/gnome-session?rev=5069&view=rev
Log:
2008-09-08 William Jon McCann <jmccann redhat com>
* gnome-session/main.c (append_required_apps):
Warn if no required_components are specified.
Modified:
trunk/ChangeLog
trunk/gnome-session/main.c
Modified: trunk/gnome-session/main.c
==============================================================================
--- trunk/gnome-session/main.c (original)
+++ trunk/gnome-session/main.c Mon Sep 8 21:06:32 2008
@@ -314,11 +314,16 @@
GSList *r;
GConfClient *client;
+ g_debug ("main: *** Adding required apps");
+
client = gconf_client_get_default ();
required_components = gconf_client_get_list (client,
GSM_GCONF_REQUIRED_COMPONENTS_LIST_KEY,
GCONF_VALUE_STRING,
NULL);
+ if (required_components == NULL) {
+ g_warning ("No required applications specified");
+ }
for (r = required_components; r != NULL; r = r->next) {
char *path;
@@ -336,6 +341,7 @@
component);
default_provider = gconf_client_get_string (client, path, NULL);
+ g_debug ("main: %s looking for component: '%s'", path, default_provider);
if (default_provider != NULL) {
char *app_path;
@@ -354,6 +360,8 @@
g_free (path);
}
+ g_debug ("main: *** Done adding required apps");
+
g_slist_foreach (required_components, (GFunc)g_free, NULL);
g_slist_free (required_components);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]