Updating branch refs/heads/master to 4db997ae46afe91c3eecaf145e0bcfa46272ef20 (commit) from 4aee9c13fb775ad1c8ca923e12023c621124d361 (commit)
commit 4db997ae46afe91c3eecaf145e0bcfa46272ef20 Author: Jérôme Guelfucci <jero...@xfce.org> Date: Fri Jan 22 23:58:52 2010 +0100 Use the new API to launch command lines. xfce4-session/xfsm-startup.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/xfce4-session/xfsm-startup.c b/xfce4-session/xfsm-startup.c index 9f8f08f..0972af5 100644 --- a/xfce4-session/xfsm-startup.c +++ b/xfce4-session/xfsm-startup.c @@ -389,7 +389,11 @@ xfsm_startup_autostart_xdg (void) /* try to launch the command */ xfsm_verbose ("Autostart: running command \"%s\"\n", exec); - if (!xfce_exec (exec, terminal, startup_notify, &error)) + if (!xfce_spawn_command_line_on_screen (gdk_screen_get_default (), + exec, + terminal, + startup_notify, + &error)) { g_warning ("Unable to launch \"%s\" (specified by %s): %s", exec, files[n], error->message); g_error_free (error); _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits