gnome-session/gnome-session-nautilus.patch

16 lines
690 B
Diff
Raw Normal View History

2008-07-21 19:59:27 +00:00
--- gnome-session-2.23.5/gnome-session/gsm-manager.c.orig 2008-07-21 15:50:16.000000000 -0400
+++ gnome-session-2.23.5/gnome-session/gsm-manager.c 2008-07-21 15:51:18.000000000 -0400
@@ -1612,7 +1612,11 @@
continue;
}
2008-05-17 00:30:11 +00:00
2008-07-21 19:59:27 +00:00
- desktop_file = g_strdup_printf ("%s.desktop", (char *) a->data);
+ if (strcmp (a->data, "nautilus") == 0) {
+ desktop_file = g_strdup ("gnome-nautilus.desktop");
+ } else {
+ desktop_file = g_strdup_printf ("%s.desktop", (char *) a->data);
+ }
2008-05-17 00:30:11 +00:00
2008-07-21 19:59:27 +00:00
g_debug ("GsmManager: Looking for: %s", desktop_file);
2008-05-17 00:30:11 +00:00