Patch by Magliocchetti Riccardo:
show key name instead of code when modifying controls, the very same change has been committed some times ago to the function that show it
This commit is contained in:
parent
6c8d4b2ff0
commit
7923100820
|
@ -972,7 +972,7 @@ static void Modify_Key(GtkWidget* widget, gpointer data)
|
|||
switch(gtk_dialog_run(GTK_DIALOG(mkDialog))) {
|
||||
case GTK_RESPONSE_OK:
|
||||
Keypad_Temp[Key] = Modify_Key_Chosen;
|
||||
Key_Label = g_strdup_printf("%s (%d)", key_names[Key], Keypad_Temp[Key]);
|
||||
Key_Label = g_strdup_printf("%s (%s)", key_names[Key], gdk_keyval_name(Keypad_Temp[Key]));
|
||||
gtk_button_set_label(GTK_BUTTON(widget), Key_Label);
|
||||
g_free(Key_Label);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue