From 89feeb7dec3014c72a2efffb6733187c536ba8b6 Mon Sep 17 00:00:00 2001 From: David Hampton Date: Sat, 7 Jan 2006 07:28:40 +0000 Subject: [PATCH] Add some access keys to menu items and buttons. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12283 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/gnome-utils/gnc-file.c | 4 ++-- src/report/report-gnome/gnc-plugin-page-report.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/gnome-utils/gnc-file.c b/src/gnome-utils/gnc-file.c index 46bc9c8321..02e1e84b45 100644 --- a/src/gnome-utils/gnc-file.c +++ b/src/gnome-utils/gnc-file.c @@ -95,7 +95,7 @@ gnc_file_dialog (const char * title, break; case GNC_FILE_DIALOG_IMPORT: action = GTK_FILE_CHOOSER_ACTION_OPEN; - okbutton = _("Import"); + okbutton = _("_Import"); if (title == NULL) title = _("Import"); break; @@ -107,7 +107,7 @@ gnc_file_dialog (const char * title, break; case GNC_FILE_DIALOG_EXPORT: action = GTK_FILE_CHOOSER_ACTION_SAVE; - okbutton = _("Export"); + okbutton = _("_Export"); if (title == NULL) title = _("Export"); break; diff --git a/src/report/report-gnome/gnc-plugin-page-report.c b/src/report/report-gnome/gnc-plugin-page-report.c index eeeb87a967..ff4e6b1fa4 100644 --- a/src/report/report-gnome/gnc-plugin-page-report.c +++ b/src/report/report-gnome/gnc-plugin-page-report.c @@ -820,17 +820,17 @@ gnc_plugin_page_report_destroy(GncPluginPageReportPrivate * priv) static GtkActionEntry report_actions[] = { - { "FilePrintAction", GTK_STOCK_PRINT, N_("Print Report..."), "p", NULL, + { "FilePrintAction", GTK_STOCK_PRINT, N_("_Print Report..."), "p", NULL, G_CALLBACK(gnc_plugin_page_report_print_cb) }, - { "ReportSaveAction", GTK_STOCK_SAVE, N_("Save Report"), NULL, + { "ReportSaveAction", GTK_STOCK_SAVE, N_("Save _Report"), NULL, N_("Save the current report for later use in " "~/.gnucash/saved-reports-2.0 so that they are accessible as " "menu entries in the report menu. Will go into effect at the " "next startup of gnucash."), G_CALLBACK(gnc_plugin_page_report_save_cb) }, - { "ReportExportAction", GTK_STOCK_CONVERT, N_("Export Report"), NULL, NULL, + { "ReportExportAction", GTK_STOCK_CONVERT, N_("Export _Report"), NULL, NULL, G_CALLBACK(gnc_plugin_page_report_export_cb) }, - { "ReportOptionsAction", GTK_STOCK_PROPERTIES, N_("Report Options"), NULL, NULL, + { "ReportOptionsAction", GTK_STOCK_PROPERTIES, N_("_Report Options"), NULL, NULL, G_CALLBACK(gnc_plugin_page_report_options_cb) }, { "ReportBackAction", GTK_STOCK_GO_BACK, N_("Back"), NULL, NULL,