gnome-session r4948 - in trunk: . gnome-session
- From: mccann svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-session r4948 - in trunk: . gnome-session
- Date: Wed, 13 Aug 2008 20:11:49 +0000 (UTC)
Author: mccann
Date: Wed Aug 13 20:11:49 2008
New Revision: 4948
URL: http://svn.gnome.org/viewvc/gnome-session?rev=4948&view=rev
Log:
2008-08-13 William Jon McCann <jmccann redhat com>
* gnome-session/gsm-autostart-app.c
(gsm_autostart_app_set_desktop_filename):
* gnome-session/gsm-manager.c (append_default_apps),
(append_autostart_apps):
Clean up some debug spew.
Modified:
trunk/ChangeLog
trunk/gnome-session/gsm-autostart-app.c
trunk/gnome-session/gsm-manager.c
Modified: trunk/gnome-session/gsm-autostart-app.c
==============================================================================
--- trunk/gnome-session/gsm-autostart-app.c (original)
+++ trunk/gnome-session/gsm-autostart-app.c Wed Aug 13 20:11:49 2008
@@ -457,8 +457,6 @@
{
GError *error;
- g_debug ("GsmAutostartApp: setting desktop filename to %s", desktop_filename);
-
if (app->priv->desktop_file != NULL) {
egg_desktop_file_free (app->priv->desktop_file);
app->priv->desktop_file = NULL;
Modified: trunk/gnome-session/gsm-manager.c
==============================================================================
--- trunk/gnome-session/gsm-manager.c (original)
+++ trunk/gnome-session/gsm-manager.c Wed Aug 13 20:11:49 2008
@@ -1706,7 +1706,7 @@
char **app_dirs;
GConfClient *client;
- g_debug ("GsmManager: append_default_apps ()");
+ g_debug ("GsmManager: *** Adding default apps");
app_dirs = gsm_util_get_app_dirs ();
@@ -1729,9 +1729,6 @@
}
desktop_file = g_strdup_printf ("%s.desktop", (char *) a->data);
-
- g_debug ("GsmManager: Looking for: %s", desktop_file);
-
g_key_file_load_from_dirs (key_file,
desktop_file,
(const gchar**) app_dirs,
@@ -1773,18 +1770,15 @@
if (app_path != NULL) {
GsmApp *app;
- g_debug ("GsmManager: Found in: %s", app_path);
-
app = gsm_autostart_app_new (app_path);
- g_free (app_path);
-
if (app != NULL) {
- g_debug ("GsmManager: read %s\n", desktop_file);
+ g_debug ("GsmManager: read %s\n", app_path);
append_app (manager, app);
g_object_unref (app);
} else {
- g_warning ("could not read %s\n", desktop_file);
+ g_warning ("could not read %s\n", app_path);
}
+ g_free (app_path);
}
g_free (desktop_file);
@@ -1803,7 +1797,7 @@
GDir *dir;
const char *name;
- g_debug ("GsmManager: append_autostart_apps (%s)", path);
+ g_debug ("GsmManager: *** Adding autostart apps (%s)", path);
dir = g_dir_open (path, 0, NULL);
if (dir == NULL) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]