Display localised accelerator keys also in OTHER mode

This fixes bug 572797.
This commit is contained in:
Christian Persch 2009-04-11 01:53:32 -04:00 committed by Matthias Clasen
parent f07613bb12
commit db7d72c82f

View File

@ -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;