Re: [Epiphany] Bookmark editor patch



On Fri, 2003-10-17 at 06:36, Christian Persch wrote:
> Hi,
> 
> On Fri, 2003-10-17 at 07:50, Ettore Perazzoli wrote:
> > This makes the bookmarks window put the focus in the search entry when
> > opened.
> > 
> > I have found that that's what I want 99% of the time when I am using the
> > keyboard (Ctrl-B, then type in what I want), and it shouldn't hurt
> > people who use the mouse.
> 
> I think the patch is wrong: it grabs focus in _construct(), but the bme
> is only ever construced once and lives on forever, so this doesn't work.
> You could grab the focus in ephy_bookmarks_editor_parent_set() instead,
> which will be called every time the bme is shown from Ctrl-B or menus.

Hrm right, I forgot that. I'm fIxing it using _show ...

> However, I'm not sure at all if we really _want_ to grab focus: if the
> entry is non-empty, grabbing focus will select all text and lose the
> selection the user was (perhaps) about to paste into the entry. 

I htink this is not a prob:

- X selection is evil
- It's a theme property
- We already do it in Find, where the case is more likely to happen.

Marco




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