aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-08-26 00:49:13 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-09-14 20:08:56 +0800
commit0c871a69a5babbdd092f56614fa53fc70636f2aa (patch)
tree45a370596ad7c22222681f49dcf851ee17b2e226
parent8e954066b8f73037a980b53b4797e2188d3e2ec9 (diff)
downloadgsoc2013-evolution-0c871a69a5babbdd092f56614fa53fc70636f2aa.tar.gz
gsoc2013-evolution-0c871a69a5babbdd092f56614fa53fc70636f2aa.tar.zst
gsoc2013-evolution-0c871a69a5babbdd092f56614fa53fc70636f2aa.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>