aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-08-26 00:49:13 +0800
committerMilan Crha <mcrha@redhat.com>2011-08-26 00:49:13 +0800
commitede1d065dd5ba4f9dd5beace3ebfd6d42d9baa8a (patch)
tree386f06568df4ed09507dfbf880ba282336c6f59f
parent2ff0386d608c2cdbef0ddc24372a2334a4e74038 (diff)
downloadgsoc2013-evolution-ede1d065dd5ba4f9dd5beace3ebfd6d42d9baa8a.tar.gz
gsoc2013-evolution-ede1d065dd5ba4f9dd5beace3ebfd6d42d9baa8a.tar.zst
gsoc2013-evolution-ede1d065dd5ba4f9dd5beace3ebfd6d42d9baa8a.zip
Bug #655629 - "Path:" label for spool file should be "File:" label
-rw-r--r--mail/em-account-editor.c4
-rw-r--r--mail/mail-config.ui1
2 files changed, 5 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);
diff --git a/mail/mail-config.ui b/mail/mail-config.ui
index 2831747252..d6fa441b74 100644
--- a/mail/mail-config.ui
+++ b/mail/mail-config.ui
@@ -4956,6 +4956,7 @@ For example: "Work" or "Personal"</property>
<property name="xalign">1</property>
<property name="label" translatable="yes">_Path:</property>
<property name="use_underline">True</property>
+ <property name="mnemonic_widget">source_path_entry</property>
</object>
<packing>
<property name="top_attach">2</property>