[evolution-patches] session management in alarm daemon



Hi

The alarm daemon was doing the session management correctly, but
libgnomeui was not being initialized correctly (LIBGNOMEUI_MODULE in
gnome_program_init) and thus the GNOME session client was not being
created.

This patch fixes this.

cheers
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.1802.2.19
diff -u -p -r1.1802.2.19 ChangeLog
--- ChangeLog	16 Jul 2003 09:18:24 -0000	1.1802.2.19
+++ ChangeLog	28 Jul 2003 11:51:44 -0000
@@ -1,3 +1,11 @@
+2003-07-28  Rodrigo Moya <rodrigo ximian com>
+
+        Fixes all "alarm daemon doesn't start with session"
+
+        * gui/alarm-notify/notify-main.c (main): use LIBGNOMEUI_MODULE
+        instead of LIBGNOME_MODULE so that the default session client
+        is created in gnome_program_init.
+
 2003-07-16  Andrew Wu <Yang Wu sun com>
 
       Fixes #45774
Index: gui/alarm-notify/notify-main.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/alarm-notify/notify-main.c,v
retrieving revision 1.25
diff -u -p -r1.25 notify-main.c
--- gui/alarm-notify/notify-main.c	23 Apr 2003 21:46:56 -0000	1.25
+++ gui/alarm-notify/notify-main.c	28 Jul 2003 11:51:44 -0000
@@ -28,6 +28,7 @@
 #include <libgnome/gnome-init.h>
 #include <libgnome/gnome-sound.h>
 #include <libgnomeui/gnome-client.h>
+#include <libgnomeui/gnome-ui-init.h>
 #include <libgnomevfs/gnome-vfs-init.h>
 #include <glade/glade.h>
 #include <bonobo/bonobo-main.h>
@@ -164,7 +165,7 @@ main (int argc, char **argv)
 	bindtextdomain (GETTEXT_PACKAGE, EVOLUTION_LOCALEDIR);
 	textdomain (GETTEXT_PACKAGE);
 
-	gnome_program_init ("evolution-alarm-notify", VERSION, LIBGNOME_MODULE, argc, argv, NULL);
+	gnome_program_init ("evolution-alarm-notify", VERSION, LIBGNOMEUI_MODULE, argc, argv, NULL);
 	gtk_init (&argc, &argv);
 
 	if (bonobo_init (&argc, argv) == FALSE)
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.1802.2.19
diff -u -p -r1.1802.2.19 ChangeLog
--- ChangeLog	16 Jul 2003 09:18:24 -0000	1.1802.2.19
+++ ChangeLog	28 Jul 2003 11:51:44 -0000
@@ -1,3 +1,11 @@
+2003-07-28  Rodrigo Moya <rodrigo ximian com>
+
+        Fixes all "alarm daemon doesn't start with session"
+
+        * gui/alarm-notify/notify-main.c (main): use LIBGNOMEUI_MODULE
+        instead of LIBGNOME_MODULE so that the default session client
+        is created in gnome_program_init.
+
 2003-07-16  Andrew Wu <Yang Wu sun com>
 
       Fixes #45774
Index: gui/alarm-notify/notify-main.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/alarm-notify/notify-main.c,v
retrieving revision 1.25
diff -u -p -r1.25 notify-main.c
--- gui/alarm-notify/notify-main.c	23 Apr 2003 21:46:56 -0000	1.25
+++ gui/alarm-notify/notify-main.c	28 Jul 2003 11:51:44 -0000
@@ -28,6 +28,7 @@
 #include <libgnome/gnome-init.h>
 #include <libgnome/gnome-sound.h>
 #include <libgnomeui/gnome-client.h>
+#include <libgnomeui/gnome-ui-init.h>
 #include <libgnomevfs/gnome-vfs-init.h>
 #include <glade/glade.h>
 #include <bonobo/bonobo-main.h>
@@ -164,7 +165,7 @@ main (int argc, char **argv)
 	bindtextdomain (GETTEXT_PACKAGE, EVOLUTION_LOCALEDIR);
 	textdomain (GETTEXT_PACKAGE);
 
-	gnome_program_init ("evolution-alarm-notify", VERSION, LIBGNOME_MODULE, argc, argv, NULL);
+	gnome_program_init ("evolution-alarm-notify", VERSION, LIBGNOMEUI_MODULE, argc, argv, NULL);
 	gtk_init (&argc, &argv);
 
 	if (bonobo_init (&argc, argv) == FALSE)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]