aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2004-02-17 00:53:46 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2004-02-17 00:53:46 +0800
commit8fdf1ccc1d65dffdfd930ab64641f897f7d4578a (patch)
tree1e2be860ff5874a313c587afda651ae617f3e5af /calendar
parentb01d8e52106d38177a71a71cbe63a395b572ec6d (diff)
downloadgsoc2013-evolution-8fdf1ccc1d65dffdfd930ab64641f897f7d4578a.tar.gz
gsoc2013-evolution-8fdf1ccc1d65dffdfd930ab64641f897f7d4578a.tar.zst
gsoc2013-evolution-8fdf1ccc1d65dffdfd930ab64641f897f7d4578a.zip
set session restart style to RESTART_IF_RUNNING.
2004-02-16 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/notify-main.c (init_session): set session restart style to RESTART_IF_RUNNING. svn path=/trunk/; revision=24749
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/alarm-notify/notify-main.c2
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