connect to "delete_event" signal with startup_wizard_delete. [#46284]
2003-07-22 Antonio Xu <antonio.xu@sun.com> * e-shell-startup-wizard.c (e_shell_startup_wizard_create): connect to "delete_event" signal with startup_wizard_delete. [#46284] svn path=/trunk/; revision=21885
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
2003-07-22 Antonio Xu <antonio.xu@sun.com>
|
||||
|
||||
* e-shell-startup-wizard.c (e_shell_startup_wizard_create): connect
|
||||
to "delete_event" signal with startup_wizard_delete. [#46284]
|
||||
|
||||
2003-07-22 Antonio Xu <antonio.xu@sun.com>
|
||||
|
||||
* e-shell-importer.c: (show_import_wizard): use
|
||||
|
||||
@ -749,6 +749,15 @@ startup_wizard_cancel (GnomeDruid *druid,
|
||||
gtk_main_quit ();
|
||||
}
|
||||
|
||||
static gboolean
|
||||
startup_wizard_delete (GnomeDruid *druid,
|
||||
GdkEventAny *ev,
|
||||
SWData *data)
|
||||
{
|
||||
startup_wizard_cancel(druid, data);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
gboolean
|
||||
e_shell_startup_wizard_create (void)
|
||||
{
|
||||
@ -777,6 +786,9 @@ e_shell_startup_wizard_create (void)
|
||||
gtk_window_set_wmclass (GTK_WINDOW (data->dialog), "startup-wizard",
|
||||
"Evolution:shell");
|
||||
|
||||
g_signal_connect_after (data->dialog, "delete_event",
|
||||
G_CALLBACK (startup_wizard_delete), 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);
|
||||
|
||||
Reference in New Issue
Block a user