aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-importer.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2003-01-15 06:29:41 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2003-01-15 06:29:41 +0800
commitb186b72199f1344224996cfc9e36e935509ef7bd (patch)
treeb81cf5de27cb4e7e9cd2f1242b18b908580e54cb /shell/e-shell-importer.c
parentbf4a0dab77e39d4178d4f55dfce4c2839ba31a3e (diff)
downloadgsoc2013-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-importer.c')
-rw-r--r--shell/e-shell-importer.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/shell/e-shell-importer.c b/shell/e-shell-importer.c
index 64e9db22e3..7a2dd3f5a9 100644
--- a/shell/e-shell-importer.c
+++ b/shell/e-shell-importer.c
@@ -350,8 +350,8 @@ choose_importer_from_list (GList *importer_list)
char *iid;
dialog = gtk_dialog_new_with_buttons(_("Select importer"), NULL, GTK_DIALOG_DESTROY_WITH_PARENT,
- GTK_STOCK_OK, GTK_RESPONSE_OK,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+ GTK_STOCK_OK, GTK_RESPONSE_OK,
NULL);
clist = gtk_clist_new (1);
for (p = importer_list; p; p = p->next) {
@@ -514,7 +514,8 @@ start_import (const char *folderpath,
icd = g_new (ImporterComponentData, 1);
icd->stop = FALSE;
icd->dialog = GTK_DIALOG (gtk_dialog_new_with_buttons(_("Importing"), NULL, 0,
- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, NULL));
+ GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+ NULL));
g_signal_connect (icd->dialog, "response", G_CALLBACK (dialog_response_cb), icd);
g_object_weak_ref (G_OBJECT(icd->dialog), dialog_destroy_notify, icd);