Re: Re: Opening tabs from command line (was: Wishlist - bring back the features)
Benjamin Kahn <[email protected]>
| Newsgroups | gmane.comp.web.galeon.devel |
|---|---|
| Message-ID | <[email protected]> |
The workspace API is available in the libwnck library. On Thu, 2003-07-24 at 16:26, Crispin Flowerday wrote: > > At the end in which window? > > > > You are right, the behavior you're seeing is not good. But you must > > also realize it happens only if you a) open new tab from command line, > > and b) open new tabs in background. > > > > The default behavior for command line is to open a new window for > > exactly this reason. Similarly, if jump to new tabs is enabled, there > > shouldn't be a problem finding the tab. Well, except the common problem > > of finding the window first ;) > > Galeon 1 had (IMO) nice behaviour when opening a url from the command > line. If you just said "galeon <url>" and had the open in tabs pref set, > it scanned the open windows, if it found one on your current workspace, > it used that, failing that it opened a new window. (also didn't it jump > to the tab as well?) > > I looked at implementing this behaviour, but got stuck at trying to work > out which workspace a window was on. The gnome libraries seem to have > removed the handy functions for working that out :( > > The attached patch makes the --new-tab commandline option jump to the > new tab. -- Benjamin Kahn <[email protected]> ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01