--- netbook-launcher-1.6.22netbook0unr7natick3.orig/debian/patches/06_open_places_dirs.patch
+++ netbook-launcher-1.6.22netbook0unr7natick3/debian/patches/06_open_places_dirs.patch
@@ -1,12 +1,15 @@
 diff -Nurp netbook-launcher-1.6.22netbook0unr7natick2.orig/src/launcher-app.c netbook-launcher-1.6.22netbook0unr7natick2/src/launcher-app.c
---- netbook-launcher-1.6.22netbook0unr7natick2.orig/src/launcher-app.c	2009-09-18 14:21:25.000000000 -0300
-+++ netbook-launcher-1.6.22netbook0unr7natick2/src/launcher-app.c	2009-09-18 14:22:40.000000000 -0300
-@@ -509,7 +509,8 @@ on_places_clicked (LauncherShortcut *sho
+--- netbook-launcher-1.6.22netbook0unr7natick2.orig/src/launcher-app.c	2009-09-18 15:45:18.000000000 -0300
++++ netbook-launcher-1.6.22netbook0unr7natick2/src/launcher-app.c	2009-09-18 16:10:19.000000000 -0300
+@@ -509,7 +509,11 @@ on_places_clicked (LauncherShortcut *sho
  
      app->name = g_strdup (launcher_shortcut_get_label (shortcut));
      app->pixbuf = launcher_shortcut_get_icon (shortcut);
 -    app->exec = g_strdup (clutter_actor_get_name (CLUTTER_ACTOR (shortcut)));
-+    app->exec = g_strdup_printf ("%s %s", "nautilus ",
++    if (strstr(clutter_actor_get_name (CLUTTER_ACTOR (shortcut)), "xdg-open"))
++      app->exec = g_strdup (clutter_actor_get_name (CLUTTER_ACTOR (shortcut)));
++    else
++      app->exec = g_strdup_printf ("%s %s", "xdg-open",
 +                    clutter_actor_get_name (CLUTTER_ACTOR (shortcut)));
      app->can_fav = FALSE;
  
