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

Remove underscores from the toolbar items labels.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4004 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 373678ae
...@@ -11,6 +11,8 @@ ...@@ -11,6 +11,8 @@
src/utils.c and add it to the plugin API. src/utils.c and add it to the plugin API.
Make utils_str_remove_chars() work on a new copy of the input string Make utils_str_remove_chars() work on a new copy of the input string
instead of modifying it in place. instead of modifying it in place.
* src/toolbar.c:
Remove underscores from the toolbar items labels.
2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com> 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
......
...@@ -615,8 +615,7 @@ static void tb_editor_set_item_values(const gchar *name, GtkListStore *store, Gt ...@@ -615,8 +615,7 @@ static void tb_editor_set_item_values(const gchar *name, GtkListStore *store, Gt
g_object_get(action, "label", &label, NULL); g_object_get(action, "label", &label, NULL);
if (label != NULL) if (label != NULL)
/* FIXME strip mnemonics here */ label_clean = utils_str_remove_chars(label, "_");
label_clean = g_strdup(label);
} }
gtk_list_store_set(store, iter, gtk_list_store_set(store, iter,
......
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