Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Mon, 18 Jan 2016 21:05:48 UTC Commit: 72c2143d62046e44d7c34496dce4671f28e72adc https://github.com/geany/geany-plugins/commit/72c2143d62046e44d7c34496dce467...
Log Message: ----------- geanyctags: Add mnemonics for two labels and allow more translation
Add mnemonics to two labels in the Find Tag dialog that already have a mnemonic widget but no actual mnemonics.
Also, fix the match type labels to be translatable.
Modified Paths: -------------- geanyctags/src/geanyctags.c
Modified: geanyctags/src/geanyctags.c 10 lines changed, 5 insertions(+), 5 deletions(-) =================================================================== @@ -525,7 +525,7 @@ static void create_dialog_find_file(void)
size_group = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL);
- label = gtk_label_new(_("Search for:")); + label = gtk_label_new_with_mnemonic(_("_Search for:")); gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); gtk_size_group_add_widget(size_group, label);
@@ -543,14 +543,14 @@ static void create_dialog_find_file(void) gtk_box_pack_start(GTK_BOX(ebox), s_ft_dialog.combo, TRUE, TRUE, 0); gtk_box_pack_start(GTK_BOX(vbox), ebox, TRUE, FALSE, 0);
- label = gtk_label_new(_("Match type:")); + label = gtk_label_new_with_mnemonic(_("_Match type:")); gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); gtk_size_group_add_widget(size_group, label);
s_ft_dialog.combo_match = gtk_combo_box_text_new(); - gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(s_ft_dialog.combo_match), "exact"); - gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(s_ft_dialog.combo_match), "prefix"); - gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(s_ft_dialog.combo_match), "pattern"); + gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(s_ft_dialog.combo_match), _("exact")); + gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(s_ft_dialog.combo_match), _("prefix")); + gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(s_ft_dialog.combo_match), _("pattern")); gtk_combo_box_set_active(GTK_COMBO_BOX(s_ft_dialog.combo_match), 1); gtk_label_set_mnemonic_widget(GTK_LABEL(label), s_ft_dialog.combo_match);
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org