debian bug #154629 - extended commands in gnome front end
Not all of the extended commands worked in the gnome interface because '#' just caused the next character to be treated as a meta character (this was a hack I added a while back when none of the extended commands worked). Resolved by finally adding an extended command menu to the gnome interface. - updated some formatting so I could read the code - fixed startup player selection menus so accelerators work - added necessary calls to make sure selected menu item is visible - also removed some dead code
This commit is contained in:
@@ -369,8 +369,8 @@ ghack_handle_key_press(GtkWidget *widget, GdkEventKey *event, gpointer data)
|
||||
|
||||
/* can't just ignore "#", it's a core feature */
|
||||
case GDK_numbersign:
|
||||
was_pound = 1;
|
||||
return;
|
||||
key='#';
|
||||
break;
|
||||
|
||||
/* We will probably want to do something with these later... */
|
||||
case GDK_KP_Begin:
|
||||
@@ -416,6 +416,7 @@ ghack_handle_key_press(GtkWidget *widget, GdkEventKey *event, gpointer data)
|
||||
|
||||
default:
|
||||
key = event->keyval;
|
||||
break;
|
||||
}
|
||||
|
||||
if ((event->state & alt) || was_pound) {
|
||||
|
||||
Reference in New Issue
Block a user