[Xfce4-commits] <libxfce4ui:master> Unset startup notification when launching in terminal.
Nick Schermer
noreply at xfce.org
Mon Feb 15 19:40:02 CET 2010
Updating branch refs/heads/master
to ead1eb96548eeca84eaa15acae6ae9ed3bd0e1a1 (commit)
from 1d978e8fbdc225e455c4dffc843f3fe0f2024d04 (commit)
commit ead1eb96548eeca84eaa15acae6ae9ed3bd0e1a1
Author: Nick Schermer <nick at xfce.org>
Date: Mon Feb 15 19:35:11 2010 +0100
Unset startup notification when launching in terminal.
This does not work because the startup timestamp is
not passed to the child environment. This requires some
changes in exo-open, but make sure it never gets triggered.
libxfce4ui/xfce-spawn.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/libxfce4ui/xfce-spawn.c b/libxfce4ui/xfce-spawn.c
index 6c29c64..4dc2eb2 100644
--- a/libxfce4ui/xfce-spawn.c
+++ b/libxfce4ui/xfce-spawn.c
@@ -546,6 +546,10 @@ xfce_spawn_command_line_on_screen (GdkScreen *screen,
argv[2] = g_strdup ("TerminalEmulator");
argv[3] = g_strdup (command_line);
argv[4] = NULL;
+
+ /* FIXME: startup notification does not work when
+ * launching with exo-open */
+ startup_notify = FALSE;
}
succeed = xfce_spawn_on_screen_with_child_watch (screen, NULL, argv, NULL,
More information about the Xfce4-commits
mailing list