From b186b72199f1344224996cfc9e36e935509ef7bd Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Tue, 14 Jan 2003 22:29:41 +0000 Subject: Make dialog New/Cancel/OK to match HIG. * e-shell-folder-selection-dialog.c (e_shell_folder_selection_dialog_construct): Make dialog New/Cancel/OK to match HIG. * glade/e-shell-folder-creation-dialog.glade: Swap Cancel/OK buttons to match HIG. * e-shell-importer.c (choose_importer_from_list): Make dialog Cancel/OK to match HIG. * e-shell-folder-selection-dialog.c (e_shell_folder_selection_dialog_construct): Make dialog Cancel/OK to match HIG. svn path=/trunk/; revision=19465 --- shell/e-shell-folder-selection-dialog.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'shell/e-shell-folder-selection-dialog.c') diff --git a/shell/e-shell-folder-selection-dialog.c b/shell/e-shell-folder-selection-dialog.c index 381278327f..c744f237c9 100644 --- a/shell/e-shell-folder-selection-dialog.c +++ b/shell/e-shell-folder-selection-dialog.c @@ -405,16 +405,16 @@ e_shell_folder_selection_dialog_construct (EShellFolderSelectionDialog *folder_s g_signal_connect (folder_selection_dialog, "delete_event", G_CALLBACK (delete_event_cb), folder_selection_dialog); - gtk_dialog_add_buttons (GTK_DIALOG (folder_selection_dialog), - GTK_STOCK_OK, GTK_RESPONSE_OK, - GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, - NULL); - if (allow_creation) gtk_dialog_add_buttons (GTK_DIALOG (folder_selection_dialog), GTK_STOCK_NEW, 1, NULL); + gtk_dialog_add_buttons (GTK_DIALOG (folder_selection_dialog), + GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, + GTK_STOCK_OK, GTK_RESPONSE_OK, + NULL); + gtk_dialog_set_response_sensitive (GTK_DIALOG (folder_selection_dialog), GTK_RESPONSE_OK, FALSE); /* Make sure we get destroyed if the shell gets destroyed. */ -- cgit v1.2.3