diff options
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/gui/alarm-notify/notify-main.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 1e220bd21c..09e98653e7 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,5 +1,10 @@ 2004-02-16 Rodrigo Moya <rodrigo@ximian.com> + * gui/alarm-notify/notify-main.c (init_session): set session restart + style to RESTART_IF_RUNNING. + +2004-02-16 Rodrigo Moya <rodrigo@ximian.com> + * gui/alarm-notify/notify-main.c: no need to keep the master client. (init_session): just set the daemon's restart style, not the restart command. Connect to "save_yourself" signal on the session also. diff --git a/calendar/gui/alarm-notify/notify-main.c b/calendar/gui/alarm-notify/notify-main.c index 18f9f264ea..bcefb51ccf 100644 --- a/calendar/gui/alarm-notify/notify-main.c +++ b/calendar/gui/alarm-notify/notify-main.c @@ -93,7 +93,7 @@ init_session (void) * the session starts. The daemon will take care of loading whatever * calendars it was told to load. */ - gnome_client_set_restart_style (master_client, GNOME_RESTART_ANYWAY); + gnome_client_set_restart_style (master_client, GNOME_RESTART_IF_RUNNING); } /* Factory function for the alarm notify service; just creates and references a |