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



OK, I was not aware that a workaround for the normal selection, it is from 

http://www.gtk.org/gtk-2.2.0-notes.html

   - To improve useability for keyboard operation, GTK+ now selects the
     contents of an entry when tabbing into it or when it is focused on
     initial window map. To disable this behavior, add:

      gtk-entry-select-on-focus = 0
 
     to your ~/.gtkrc-2.0
     
So I will prompty remove the grab_focus_cb from my patch and will submit it 
soon.

Thanks,
Suresh

>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>
>_______________________________________________
>Evolution-patches mailing list
>Evolution-patches lists ximian com
>http://lists.ximian.com/mailman/listinfo/evolution-patches

Thanks & Regards,
Suresh




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