aboutsummaryrefslogtreecommitdiffstats
path: root/mail/importers
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-04-18 03:57:50 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-04-18 03:57:50 +0800
commit3469517c5e27af7fc4b8105ca6a54d49f84a9d01 (patch)
tree1f2b1799a4abe103fce51ace812a99266a725a27 /mail/importers
parent3f20fda6fe4ddbba92e2fa5403b6c9d700cce9d5 (diff)
downloadgsoc2013-evolution-3469517c5e27af7fc4b8105ca6a54d49f84a9d01.tar.gz
gsoc2013-evolution-3469517c5e27af7fc4b8105ca6a54d49f84a9d01.tar.zst
gsoc2013-evolution-3469517c5e27af7fc4b8105ca6a54d49f84a9d01.zip
Bug 615814 - Missing mnemonic in import dialog
Diffstat (limited to 'mail/importers')
-rw-r--r--mail/importers/evolution-mbox-importer.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/mail/importers/evolution-mbox-importer.c b/mail/importers/evolution-mbox-importer.c
index 758b8a8b62..4fa4bf96f0 100644
--- a/mail/importers/evolution-mbox-importer.c
+++ b/mail/importers/evolution-mbox-importer.c
@@ -79,6 +79,7 @@ mbox_getwidget(EImport *ei, EImportTarget *target, EImportImporter *im)
{
GtkWindow *window;
GtkWidget *hbox, *w;
+ GtkLabel *label;
gchar *select_uri = NULL;
/* preselect the folder selected in a mail view */
@@ -110,11 +111,14 @@ mbox_getwidget(EImport *ei, EImportTarget *target, EImportImporter *im)
hbox = gtk_hbox_new(FALSE, 0);
- w = gtk_label_new(_("Destination folder:"));
+ w = gtk_label_new_with_mnemonic (_("_Destination folder:"));
gtk_box_pack_start((GtkBox *)hbox, w, FALSE, TRUE, 6);
+ label = GTK_LABEL (w);
+
w = em_folder_selection_button_new(
_("Select folder"), _("Select folder to import into"));
+ gtk_label_set_mnemonic_widget (label, w);
em_folder_selection_button_set_selection ((EMFolderSelectionButton *)w, select_uri);
folder_selected (EM_FOLDER_SELECTION_BUTTON (w), (EImportTargetURI *)target);
g_signal_connect (w, "selected", G_CALLBACK(folder_selected), target);