Re: [Nautilus-list] [PATCH] location bar autocompletion



On 2/25/02 8:10 AM, "David Emory Watson" <dwatson cs ucr edu> wrote:

> I am guessing that this bug might related to the following:
> "In GTK+ 1.2, if an event handler returned TRUE it prevented propagation
> of that event to parent widgets. That is, the event signal would not be
> emitted on parent widgets. In GTK+ 2.0, if an event handler returns
> TRUE, the current signal emission on the current widget is immediately
> stopped. That is, other callbacks connected to the signal will not be
> invoked." (GTK 1.2->2.0 Porting Guide)

Owen suggested changing this to use two signal handlers:
http://lists.gnome.org/archives/gtk-app-devel-list/2002-January/msg00243.htm
l

    - connect_after to catch return_value = FALSE returns
    - connect to ::event-after to catch all key presses afterwards

Then he had me report a bug to ask for a feature in GtkEntry to help with
this in the future, which became bug 69613.

    -- Darin





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