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]
+++ /dev/null
-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.
#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