Kaydet (Commit) 1bd9ee66 authored tarafından Enrico Tröger's avatar Enrico Tröger

Use a separate string for keybinding label to avoid display of an underscore.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2337 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 745c858f
......@@ -23,6 +23,8 @@
Install header files and add a pkg-config file for external plugins.
* geany.glade, src/interface.c:
Add missing accelerator for string "Toggle All Additional Widgets".
* plugins/htmlchars.c: Use a separate string for keybinding label to
avoid display of an underscore.
2008-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
......
......@@ -36,7 +36,7 @@ PluginFields *plugin_fields;
GeanyData *geany_data;
VERSION_CHECK(7)
VERSION_CHECK(48)
PLUGIN_INFO(_("HTML Characters"), _("Inserts HTML character entities like '&amp;'."), VERSION,
_("The Geany developer team"))
......@@ -525,6 +525,7 @@ void init(GeanyData *data)
{
GtkWidget *demo_item;
const gchar *menu_text = _("_Insert Special HTML Characters");
const gchar *kb_label = _("Insert Special HTML Characters");
/* Add an item to the Tools menu */
demo_item = gtk_menu_item_new_with_mnemonic(menu_text);
......@@ -538,7 +539,7 @@ void init(GeanyData *data)
/* setup keybindings */
p_keybindings->set_item(plugin_key_group, KB_INSERT_HTML_CHARS, kb_activate,
0, 0, "insert_html_chars", menu_text, demo_item);
0, 0, "insert_html_chars", kb_label, demo_item);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment