diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-12-17 07:03:28 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-12-17 07:03:28 +0000 |
commit | 1aaf8ce241d8700c4645e3090cfeccd4b20eee28 (patch) | |
tree | 80404ff4b3692e6ef998c9f6b5c5ea29b5d3e88e /src/mainwindow.c | |
parent | d5175b3fc5fda02558b7754ba160eee360ccb7ec (diff) |
added select button to 'Add mailbox' dialog.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2399 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r-- | src/mainwindow.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c index 8fe78cea..f83ffcfa 100644 --- a/src/mainwindow.c +++ b/src/mainwindow.c @@ -1779,11 +1779,12 @@ void main_window_add_mailbox(MainWindow *mainwin) gchar *path; Folder *folder; - path = input_dialog(_("Add mailbox"), - _("Specify the location of mailbox.\n" - "If the existing mailbox is specified, it will be\n" - "scanned automatically."), - "Mail"); + path = input_dialog_with_filesel + (_("Add mailbox"), + _("Specify the location of mailbox.\n" + "If the existing mailbox is specified, it will be\n" + "scanned automatically."), + "Mail", GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER); if (!path) return; if (folder_find_from_path(path)) { alertpanel_error(_("The mailbox `%s' already exists."), path); |