aboutsummaryrefslogtreecommitdiff
path: root/src/setup.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-10-13 09:12:04 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-10-13 09:12:04 +0000
commitbd37ef277a245376bfa84aecf6ea8d6260eea338 (patch)
treedb075d0d5d341538062c2022991b27077bd1d397 /src/setup.c
parentaae96fda8872f696c3ddeb0fb6fdcb3d2c057d62 (diff)
modified the text of mailbox setup dialog.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@644 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/setup.c')
-rw-r--r--src/setup.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/setup.c b/src/setup.c
index f924901f..783ad7b6 100644
--- a/src/setup.c
+++ b/src/setup.c
@@ -1,6 +1,6 @@
/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999,2000 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2005 Hiroyuki Yamamoto
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -28,10 +28,9 @@
#include "inputdialog.h"
#include "alertpanel.h"
#include "mainwindow.h"
+#include "manage_window.h"
#include "gtkutils.h"
-#define SETUP_DIALOG_WIDTH 540
-
static void scan_tree_func(Folder *folder, FolderItem *item, gpointer data);
void setup(MainWindow *mainwin)
@@ -39,15 +38,15 @@ void setup(MainWindow *mainwin)
gchar *path;
Folder *folder;
+ manage_window_focus_in(mainwin->window, NULL, NULL);
path = input_dialog
(_("Mailbox setting"),
- _("First, you have to set the location of mailbox.\n"
- "You can use existing mailbox in MH format\n"
- "if you have the one.\n"
- "If you're not sure, just select OK."),
+ _("Specify the location of mailbox.\n"
+ "If you are unsure, just select OK."),
"Mail");
if (!path) return;
if (folder_find_from_path(path)) {
+ alertpanel_error(_("The mailbox `%s' already exists."), path);
g_warning("The mailbox already exists.\n");
g_free(path);
return;