aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-account-editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-account-editor.c')
-rw-r--r--mail/em-account-editor.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index 8163de88df..d84eb65abf 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -2180,6 +2180,10 @@ emae_setup_service (EMAccountEditor *emae,
if (service->provider && (service->provider->url_flags & CAMEL_URL_NEED_PATH_DIR) == 0)
action = GTK_FILE_CHOOSER_ACTION_OPEN;
+ if (service->pathlabel)
+ gtk_label_set_text_with_mnemonic (GTK_LABEL (service->pathlabel),
+ action == GTK_FILE_CHOOSER_ACTION_OPEN ? _("Fil_e:") : _("_Path:"));
+
if (action != gtk_file_chooser_get_action (GTK_FILE_CHOOSER (service->pathentry)))
gtk_file_chooser_set_action (GTK_FILE_CHOOSER (service->pathentry), action);