[Geany-devel] [PATCH] Open files in Geany at the same workspace
Erik de Castro Lopo
mle+tools at xxxxx
Thu Aug 5 23:19:57 UTC 2010
Erik de Castro Lopo wrote:
> Erik de Castro Lopo wrote:
>
> > I still think this functionality can be improved on to do the right
> > thing for most people most of the time.
>
> Ah, its in the TODO list anyway:
>
> o (per-workspace instances with socket support?)
>
> Since I have already figured out the basic mechanics of how to do
> this using nothing more than GTK/GDK and X11 libs, I'll roll a
> patch and send it in.
I've been running the attached patch for two days now and its
worked flawlessly on Debian Testing, Ubuntu Lucid and Ubuntu Hardy.
I've been careful to try and make sure the code compiles on windows
and mac, but I haven't tested it. There is code in place for these
systems so that if it can't determine the workspace number it just
returns a default of 0. This means that windows/mac behaviour will
be unchanged after this patch.
Cheers,
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: same-workspace.diff
Type: text/x-diff
Size: 3057 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20100806/a65e4240/attachment.diff>
More information about the Devel
mailing list