[Xfce4-commits] <xfce4-session:jeromeg/libxfce4ui> Use the new API to launch command lines.
Jérôme Guelfucci
noreply at xfce.org
Fri Jan 22 23:58:07 CET 2010
Updating branch refs/heads/jeromeg/libxfce4ui
to 58ae0607857076a2df691b7b8908476cfaf20a65 (commit)
from cbbf1b9e5f90d1bbf4184e80fe8b66a216e46443 (commit)
commit 58ae0607857076a2df691b7b8908476cfaf20a65
Author: Jérôme Guelfucci <jeromeg at 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);
More information about the Xfce4-commits
mailing list