[evolution-patches] Please review my patch for bug #46284
- From: Antonio Xu <antonio xu sun com>
- To: evolution-patches ximian com
- Cc: Ettore Perazzoli <ettore ximian com>
- Subject: [evolution-patches] Please review my patch for bug #46284
- Date: Mon, 14 Jul 2003 13:33:53 +0800
Hello All,
Could you review my patch for bug #46284? My patch can solve this
problem. This bug is due to when user close evolution icon in pane, it
will close the evolution's setup windows, but there haven't "destroy"
signal handler in setup windows, so evolution doesn't exit after the setup
windows is closed.I add a "destroy" signal handler in setup window, which
can solve th problem.
Bug Summary: Evolution setup doesnt restart on cancel
Bug Link:http://bugzilla.ximian.com/show_bug.cgi?id=46284
Thanks
Antonio Xu
Index: shell/e-shell-startup-wizard.c
===================================================================
RCS file: /cvs/gnome/evolution/shell/e-shell-startup-wizard.c,v
retrieving revision 1.41
diff -u -r1.41 e-shell-startup-wizard.c
--- shell/e-shell-startup-wizard.c 11 Mar 2003 22:25:47 -0000 1.41
+++ shell/e-shell-startup-wizard.c 14 Jul 2003 04:24:46 -0000
@@ -762,6 +762,9 @@
gtk_window_set_wmclass (GTK_WINDOW (data->dialog), "startup-wizard",
"Evolution:shell");
+ g_signal_connect (data->dialog, "destroy",
+ G_CALLBACK (startup_wizard_cancel), data);
+
page_hash = g_hash_table_new (NULL, NULL);
data->druid = glade_xml_get_widget (data->wizard, "startup-druid");
g_return_val_if_fail (data->druid != NULL, FALSE);
Index: shell/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/shell/ChangeLog,v
retrieving revision 1.1287
diff -u -r1.1287 ChangeLog
--- shell/ChangeLog 9 Jul 2003 19:54:25 -0000 1.1287
+++ shell/ChangeLog 14 Jul 2003 04:29:03 -0000
@@ -1,3 +1,8 @@
+2003-07-14 Antonio Xu <antonio xu sun com>
+
+ * e-shell-startup-wizard.c (e_shell_startup_wizard_create): connect
+ "destroy" signal to startup_wizard_cancel. [#46284]
+
2003-07-09 Ettore Perazzoli <ettore ximian com>
* e-shell-folder-commands.c (e_shell_command_rename_folder): Do
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]