diff options
author | Rodney Dawes <dobey@ximian.com> | 2004-04-01 01:05:52 +0800 |
---|---|---|
committer | Rodney Dawes <dobey@src.gnome.org> | 2004-04-01 01:05:52 +0800 |
commit | 331fe02266408da756dcde94702a23c2bee5162a (patch) | |
tree | 1bb6b286dbe287d52135ed8ab15ac12140065d4c /shell/e-shell-startup-wizard.c | |
parent | 2ab629886e8850257ffe7681fcfdf73648278b4b (diff) | |
download | gsoc2013-evolution-331fe02266408da756dcde94702a23c2bee5162a.tar.gz gsoc2013-evolution-331fe02266408da756dcde94702a23c2bee5162a.tar.zst gsoc2013-evolution-331fe02266408da756dcde94702a23c2bee5162a.zip |
Remove dialog separators Change the border with of the dialog's vbox and
2004-03-31 Rodney Dawes <dobey@ximian.com>
* e-shell-importer.c (choose_importer_from_list):
(start_import):
(prepare_intelligent_page): Remove dialog separators
* e-shell-offline-handler.c (pop_up_confirmation_dialog): Change the
border with of the dialog's vbox and action area to be HIG-compliant
* e-shell-settings-dialog.c (init): Remove the dialog separator
* e-shell-startup-wizard.c (prepare_importer_page): Remove the dialog
separator to be more HIG-compliant
(key_press_event_callback): Fix compile warnings and cast to the
correct widget types for calling various gtk api
Remove the dialog separator to be more HIG-compliant
* main.c (show_development_warning): Make the devel warning dialog
that pops up for unstable versions be HIG-compliant
* glade/e-active-connection-dialog.glade: Make the active connection
dialog for going off-line be HIG-compliant
* importer/intelligent.c (create_gui): Remove the dialog separator
and set the dialog's vbox and action area border widths to be more
compliant with the HIG
svn path=/trunk/; revision=25267
Diffstat (limited to 'shell/e-shell-startup-wizard.c')
-rw-r--r-- | shell/e-shell-startup-wizard.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/shell/e-shell-startup-wizard.c b/shell/e-shell-startup-wizard.c index 47f91d0f5f..0bd93acddb 100644 --- a/shell/e-shell-startup-wizard.c +++ b/shell/e-shell-startup-wizard.c @@ -564,6 +564,7 @@ prepare_importer_page (GnomeDruidPage *page, dialog = gtk_message_dialog_new (NULL, 0, GTK_MESSAGE_INFO, GTK_BUTTONS_NONE, _("Please wait...\nScanning for existing setups")); + gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE); e_make_widget_backing_stored (dialog); gtk_window_set_title (GTK_WINDOW (dialog), _("Starting import")); @@ -785,20 +786,22 @@ key_press_event_callback (GtkWidget *widget, "you have entered will be forgotten. You will need to run this assistant again " "before using Evolution.\n\nDo you want to quit using the Assistant now?"); - confirm_dialog = gtk_message_dialog_new (data->dialog, + confirm_dialog = gtk_message_dialog_new (GTK_WINDOW (data->dialog), GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_NONE, confirmations); - gtk_dialog_add_button (confirm_dialog, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL); - gtk_dialog_add_button (confirm_dialog, GTK_STOCK_QUIT, GTK_RESPONSE_OK); + gtk_dialog_add_button (GTK_DIALOG (confirm_dialog), GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL); + gtk_dialog_add_button (GTK_DIALOG (confirm_dialog), GTK_STOCK_QUIT, GTK_RESPONSE_OK); + gtk_dialog_set_has_separator (GTK_DIALOG (confirm_dialog), + FALSE); returnvalue = gtk_dialog_run (GTK_DIALOG (confirm_dialog)); gtk_widget_destroy (confirm_dialog); if (returnvalue == GTK_RESPONSE_OK) { - startup_wizard_cancel (data->druid, data); + startup_wizard_cancel ((GnomeDruid *)data->druid, data); return TRUE; } } |