[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-dev: Escape key in compselect window



On Saturday 07 July 2007 13:47:54 Ivan Stankovic wrote:
> On Sat, Jul 07, 2007 at 01:17:10AM +0200, Carlos Nieves Ónega wrote:
> > Hi,
> > some time ago I was able to close the compselect window just hitting Esc
> > key. Now I can't do it that way anymore.
> >
> > I think this was due to Ivan's patch removing code handling escape key
> > in dialogs (since this is already done by GtkDialog):
> > http://git.gpleda.org/?p=gaf.git;a=blobdiff;f=gschem/src/x_compselect.c;h
> >=bfce626366f8be467803412c30198c883a0aa75b;hp=ccf9e4b5bf6d8dada25db4e67fa92
> >f55b812a63f;hb=7067e71ef1558ceb94772a703cde1463233460fe;hpb=2a2fa60eee536f
> >48cc27c16f2577106e78250ed6
> >
> > It seems this is not working for compselect window, so I'm thinking
> > about reverting this change (only in x_compselect.c , of course).
> >
> > Ivan, any thoughts?
>
> 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?

Cheers,

                       Peter

-- 
Fisher Society committee                    http://tinyurl.com/o39w2
CUSBC novices, match and league secretary   http://tinyurl.com/mwrc9
CU Spaceflight                              http://tinyurl.com/ognu2

v3sw6YChw7$ln3pr6$ck3ma8u7+Lw3+2m0l7Ci6e4+8t4Gb8en6g6Pa2Xs5Mr4p4
  hackerkey.com                                  peter-b.co.uk

Attachment: signature.asc
Description: This is a digitally signed message part.


_______________________________________________
geda-dev mailing list
geda-dev@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev