Re: [evolution-patches] evolution-1-4-branch patch for 40917



On Fri, 2003-09-26 at 13:59, Jeffrey Stedfast wrote:
> the patch is wrong. focusing the entry widget that we need the user to
> fill out is proper behaviour.
> 
> the problem is that by default, when an entry widget is focused in gtk2,
> gtk2 decides to do something entirely stupid: select all the text
> 
> what you need to do is unselect the text

You never want to override the behavior of the toolkit like that.  It's
up to the toolkit to define the UI policy.

(And actually, there is a setting that you can turn off in GTK so that
all GTK apps stop selecting all the text when they get focus, but I
forget how you change it.)

I am not sure why the bug happens, but it looks like something else is
wrong, not the selection.

-- 
Ettore Perazzoli <ettore ximian com>



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