Commit db7d72c8 authored by Christian Persch's avatar Christian Persch Committed by Matthias Clasen
Browse files

Display localised accelerator keys also in OTHER mode

This fixes bug 572797.
parent f07613bb
......@@ -249,7 +249,10 @@ convert_keysym_state_to_string (GtkCellRendererAccel *accel,
{
gchar *name;
name = gtk_accelerator_name (keysym, mask);
name = gtk_accelerator_get_label (keysym, mask);
if (name == NULL)
name = gtk_accelerator_name (keysym, mask);
if (keysym == 0)
{
gchar *tmp;
......
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