Bill Pringlemeir wrote: > The previous code was looking at focus. I have removed this, except > to set the focus if the viewport is redisplayed. I don't really know > the history of this; perhaps this is problematic in GTK1, like loosing > the cursor or some such?
The idea was that F2 is not a simple on/off switch but has actually three states: on/focus/off. So if the bar is already visible, hitting F2 would focus it. I find it very annoying if I have to move the mouse just to focus something because 99% of the time that's not where my hands are. The reason I did not persist the visibility status of the searchbar is very simple: Someone might accidently or incidently hide the searchbar and then have trouble to find it after restarting Gtk-Gnutella. We already had a lot of trouble in the past with the search box when we moved it. Therefore I've also added the "View" menu item but I'm not certain that's sufficient. Well, I think I just apply the patch for you and blame it all on you later. -- Christian ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Gtk-gnutella-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel
