[evolution/foocanvas] Bug 615814 - Missing mnemonic in import dialog



commit 10c0f5a2082e6928ec193974bbb4cad948d064b7
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sat Apr 17 15:57:50 2010 -0400

    Bug 615814 - Missing mnemonic in import dialog

 mail/importers/evolution-mbox-importer.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/mail/importers/evolution-mbox-importer.c b/mail/importers/evolution-mbox-importer.c
index 758b8a8..4fa4bf9 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]