diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2003-01-15 06:29:41 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2003-01-15 06:29:41 +0800 |
commit | b186b72199f1344224996cfc9e36e935509ef7bd (patch) | |
tree | b81cf5de27cb4e7e9cd2f1242b18b908580e54cb /shell/e-shell-folder-selection-dialog.c | |
parent | bf4a0dab77e39d4178d4f55dfce4c2839ba31a3e (diff) | |
download | gsoc2013-evolution-b186b72199f1344224996cfc9e36e935509ef7bd.tar.gz gsoc2013-evolution-b186b72199f1344224996cfc9e36e935509ef7bd.tar.zst gsoc2013-evolution-b186b72199f1344224996cfc9e36e935509ef7bd.zip |
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
Diffstat (limited to 'shell/e-shell-folder-selection-dialog.c')
-rw-r--r-- | shell/e-shell-folder-selection-dialog.c | 10 |
1 files changed, 5 insertions, 5 deletions
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. */ |