gEDA-dev: Escape key in compselect window

Ivan Stankovic ivan.stankovic at fer.hr
Sat Jul 7 09:09:14 EDT 2007


On Sat, Jul 07, 2007 at 01:48:31PM +0100, Peter TB Brett wrote:
> On Saturday 07 July 2007 13:47:54 Ivan Stankovic wrote:
> > This has nothing to do with escape handling code, it seems. The
> > problem appears to be the call to gtk_widget_grab_focus()
> > when initializing component selector dialog. GTK is confused
> > when we try to set the focus to the filter widget, but the
> > currently displayed tab is the "In Use" tab.
> >
> 
> Okay, my bad.  I should have spotted that.
> 
> Ivan, what do you think would be a longer term fix for this problem?

Well, we can just set the focus to the "OK" button (or "Place"), but
I would also like that dialog to remember the last tab displayed
(I don't want to select the libraries tab every time the dialog
is shown).

-- 
Ivan Stankovic, ivan.stankovic at fer.hr

"Protect your digital freedom and privacy, eliminate DRM, 
learn more at http://www.defectivebydesign.org/what_is_drm"


More information about the geda-dev mailing list