diff options
author | Milan Crha <mcrha@redhat.com> | 2009-08-03 18:07:11 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-08-11 04:35:53 +0800 |
commit | 22355521cd302d9cce088f7cbf27aa300a9dae3e (patch) | |
tree | c1e6b075edbc36c90f35bda1035976ffae78b466 /plugins/save-calendar/csv-format.c | |
parent | 98c7080facf89ee0fa9f056728fb918fdd8c97a3 (diff) | |
download | gsoc2013-evolution-22355521cd302d9cce088f7cbf27aa300a9dae3e.tar gsoc2013-evolution-22355521cd302d9cce088f7cbf27aa300a9dae3e.tar.gz gsoc2013-evolution-22355521cd302d9cce088f7cbf27aa300a9dae3e.tar.bz2 gsoc2013-evolution-22355521cd302d9cce088f7cbf27aa300a9dae3e.tar.lz gsoc2013-evolution-22355521cd302d9cce088f7cbf27aa300a9dae3e.tar.xz gsoc2013-evolution-22355521cd302d9cce088f7cbf27aa300a9dae3e.tar.zst gsoc2013-evolution-22355521cd302d9cce088f7cbf27aa300a9dae3e.zip |
Bug #325278 - cannot access parts of "save calendar" without mouse
Diffstat (limited to 'plugins/save-calendar/csv-format.c')
-rw-r--r-- | plugins/save-calendar/csv-format.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/plugins/save-calendar/csv-format.c b/plugins/save-calendar/csv-format.c index b296bb9736..04168695d9 100644 --- a/plugins/save-calendar/csv-format.c +++ b/plugins/save-calendar/csv-format.c @@ -520,14 +520,14 @@ static GtkWidget * create_options_widget (FormatHandler *handler) { GtkWidget *table = gtk_table_new (4, 2, FALSE), *label = NULL, - *csv_options = gtk_expander_new (_("Advanced options for the CSV format")), + *csv_options = gtk_expander_new_with_mnemonic (_("A_dvanced options for the CSV format")), *vbox = gtk_vbox_new (FALSE, 0); CsvPluginData *d = handler->data; d->delimiter_entry = gtk_entry_new (); d->newline_entry = gtk_entry_new (); d->quote_entry = gtk_entry_new (); - d->header_check = gtk_check_button_new_with_label (_("Prepend a header")); + d->header_check = gtk_check_button_new_with_mnemonic (_("Prepend a _header")); /* Advanced CSV options */ gtk_entry_set_text (GTK_ENTRY(d->delimiter_entry), ", "); @@ -536,20 +536,23 @@ create_options_widget (FormatHandler *handler) gtk_table_set_row_spacings (GTK_TABLE (table), 5); gtk_table_set_col_spacings (GTK_TABLE (table), 5); - label = gtk_label_new (_("Value delimiter:")); + label = gtk_label_new_with_mnemonic (_("_Value delimiter:")); gtk_misc_set_alignment (GTK_MISC (label), 0, 0.0); + gtk_label_set_mnemonic_widget (GTK_LABEL (label), d->delimiter_entry); gtk_table_attach (GTK_TABLE (table), label, 0, 1, 0, 1, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_table_attach (GTK_TABLE (table), d->delimiter_entry, 1, 2, 0, 1, (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), (GtkAttachOptions) (0), 0, 0); - label = gtk_label_new (_("Record delimiter:")); + label = gtk_label_new_with_mnemonic (_("_Record delimiter:")); gtk_misc_set_alignment (GTK_MISC (label), 0, 0.0); + gtk_label_set_mnemonic_widget (GTK_LABEL (label), d->newline_entry); gtk_table_attach (GTK_TABLE (table), label, 0, 1, 1, 2, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_table_attach (GTK_TABLE (table), d->newline_entry, 1, 2, 1, 2, (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), (GtkAttachOptions) (0), 0, 0); - label = gtk_label_new (_("Encapsulate values with:")); + label = gtk_label_new_with_mnemonic (_("_Encapsulate values with:")); gtk_misc_set_alignment (GTK_MISC (label), 0, 0.0); + gtk_label_set_mnemonic_widget (GTK_LABEL (label), d->quote_entry); gtk_table_attach (GTK_TABLE (table), label, 0, 1, 2, 3, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_table_attach (GTK_TABLE (table), d->quote_entry, 1, 2, 2, 3, |