1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-03-12 18:13:50 -05:00

I apparently missed out a piece of code when doing the new GTK2 list

box: shortcut activations for list boxes are missing.

That's the last thing on the to-do list. We're now ready to merge
back to the trunk, given only some final testing!

[originally from svn r7967]
This commit is contained in:
Simon Tatham 2008-04-04 11:02:26 +00:00
parent ee92c21e53
commit bfa9859f2a
2 changed files with 6 additions and 15 deletions

View File

@ -1,11 +0,0 @@
TODO for PuTTY GTK2 port before merging back into main trunk code
-----------------------------------------------------------------
Things left to do:
- I apparently missed out a piece of code when doing the new GTK2
list box: shortcut activations for list boxes are missing.
- Merge to trunk. Colin is already mentioned in the licence in all
the branched copies, but mention him in the _website's_ licence
page too.

View File

@ -2604,10 +2604,12 @@ int win_key_press(GtkWidget *widget, GdkEventKey *event, gpointer data)
#else
/*
* FIXME: apparently I forgot to put this back in
* for GTK 2. Oops.
*/
if (sc->uc->treeview) {
gtk_widget_grab_focus(sc->uc->treeview);
} else if (sc->uc->combo) {
gtk_widget_grab_focus(sc->uc->combo);
gtk_combo_box_popup(GTK_COMBO_BOX(sc->uc->combo));
}
#endif