gnome-session/gnome-session-migrate-session-manual.patch

15 lines
596 B
Diff

diff -upr gnome-session-2.12.0-orig/gnome-session/save.c gnome-session-2.12.0/gnome-session/save.c
--- gnome-session-2.12.0-orig/gnome-session/save.c 2006-06-12 16:15:02.000000000 +0200
+++ gnome-session-2.12.0/gnome-session/save.c 2006-06-12 16:16:04.000000000 +0200
@@ -657,6 +657,10 @@ read_session (const char *name)
if (list) {
char *path;
+ path = g_build_filename (g_get_user_config_dir (), "autostart", NULL);
+ g_mkdir_with_parents (path, S_IRWXU);
+ g_free (path);
+
/* migrate to newly desktop-based autostart system */
while (list) {
SmProp *prop;