diff options
author | Benedikt Meurer <benny@xfce.org> | 2006-08-12 16:11:41 +0000 |
---|---|---|
committer | Benedikt Meurer <benny@xfce.org> | 2006-08-12 16:11:41 +0000 |
commit | 71be0325d405b50628bae367a0f90bc43c10ac53 (patch) | |
tree | b6d9924dd4d5735dde12d02d90f1e21ab9f66db0 /xfce4-tips/main.c | |
parent | ec56a9f74ebfc344662f31a7563444aa9bde15c3 (diff) | |
download | xfce4-session-71be0325d405b50628bae367a0f90bc43c10ac53.tar.gz |
2006-08-12 Benedikt Meurer <benny@xfce.org>
* xfce4-tips/main.c(main): Fake a session id, so the session manager
will not save the tips as part of the session. Bug #1089.
(Old svn revision: 22725)
Diffstat (limited to 'xfce4-tips/main.c')
-rw-r--r-- | xfce4-tips/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xfce4-tips/main.c b/xfce4-tips/main.c index 5a9e7244..09618793 100644 --- a/xfce4-tips/main.c +++ b/xfce4-tips/main.c @@ -155,6 +155,9 @@ main (int argc, char **argv) gtk_init (&argc, &argv); + /* fake a SM client id, so the session manager does not restart us */ + gdk_set_sm_client_id ("FAKED CLIENTID"); + dlg = xfce_titled_dialog_new_with_buttons (_("Tips and Tricks"), NULL, GTK_DIALOG_NO_SEPARATOR, NULL); |