diff -ur applet-old/obex.c applet/obex.c --- applet-old/obex.c 2008-04-30 09:29:57.000000000 +0200 +++ applet/obex.c 2008-04-30 09:30:28.000000000 +0200 @@ -139,6 +139,9 @@ dir = g_get_user_special_dir(G_USER_DIRECTORY_DOWNLOAD); + if (!dir) + g_printerr("Warning: G_USER_DIRECTORY_DOWNLOAD not set - check ~/.config/user-dirs.dirs!"); + dbus_g_proxy_begin_call(opp_server, "Start", start_opp_notify, NULL, NULL, G_TYPE_STRING, dir, @@ -206,6 +209,9 @@ dir = g_get_user_special_dir(G_USER_DIRECTORY_PUBLIC_SHARE); + if (!dir) + g_printerr("Warning: G_USER_DIRECTORY_PUBLIC_SHARE not set - check ~/.config/user-dirs.dirs!"); + dbus_g_proxy_begin_call(ftp_server, "Start", start_ftp_notify, NULL, NULL, G_TYPE_STRING, dir,