Mousepad 0.2.0

edscott wilson garcia edscott at xfce.org
Fri Feb 18 01:49:43 CET 2005


El jue, 17-02-2005 a las 17:53 -0500, Erik Harrison escribió:
> On Thu, 17 Feb 2005 14:20:41 -0500, Erik Harrison
> <erikharrison at gmail.com> wrote:
> > On Thu, 17 Feb 2005 07:42:09 -0600, edscott wilson garcia
> > <edscott at xfce.org> wrote:
> > > Hi Erik,
> > >
> > > A small issue with dnd. Although there seems to be code to process dnd
> > > at dnd.c, dragging an icon from a file manager will not open the file. I
> > > tried with xffm, rox and nautilus with no results.
> > 
> > Hmm. Works for me here. I wonder if something happened when I tar'ed
> > up the thing. I'm going to download the tarball and rebuild, see if I
> > missed something.
> 
> All seems well here. Edscott, perhaps could you be running mousepad
> without installing it? Do to some stuff inherited from Leafpad, when a
> file is dnd'd to Mousepad, it tries to start another copy of mousepad
> to open it. Since it tries to run mousepad manually, rather than
> fork(), if mousepad is not installed you will get this behaviour.

Ah, yes. That was the problem (not installed in the search path). I was
expecting the dropped file to be opened in the same window (like gvim).
But since there seems to be no standard along these lines, whatever you
judge best should be fine.

Maybe a xfce_warning() dialog with strerror(ENOENT) would helpful if
mousepad cannot be found in the search path when dropping a file. Or
better yet, instead of doing an execp on "mousepad", do an exec on
argv[0], that way it will always find mousepad even if not in the search
path.


regards,

Edscott

> 
> > 
> > Expect a 0.2.1 soon though . . .
> > 
> > >
> > > regards,
> > >
> > > Edscott
> > >
> > > El jue, 17-02-2005 a las 01:51 -0500, Erik Harrison escribió:
> > > > Mousepad 0.2.0 is out.
> > > >
> > > > What? You thought I was slacking?
> > > >
> > > > Mousepad is a lightweight text editor for Xfce. It features a simple
> > > > interface,  broad character set support, printing with Xfprint, and
> > > > more. It opens lightening quick, making it perfect for editing config
> > > > files, doing quick scripting, and pretty printing documents like shell
> > > > scripts.
> > > >
> > > > A screenshot is here:
> > > > http://erikharrison.net/software/mousepadscreenie.png
> > > >
> > > > Get it at:
> > > > http://erikharrison.net/software/mousepad-0.2.0.tar.gz
> > > >
> > > > Short list of changes for 0.2.0
> > > >   *A new Slovak translation
> > > >   *A new, more spec compliant config file location
> > > >   *Asynchronous control of xfprint4
> > > >   *A fix for the embarrassingly broken "Replace" dialog
> > > >   *A half a dozen cleanups and bugfixes.
> > > >
> > > > Have appropriate amounts of fun.
> > > --
> > > edscott wilson garcia <edscott at xfce.org>
> > > _______________________________________________
> > > Xfce4-dev mailing list
> > > Xfce4-dev at xfce.org
> > > http://foo-projects.org/mailman/listinfo/xfce4-dev
> > >
> > 
> > --
> > CAPS LOCK: ITS LIKE THE CRUISE CONTROL FOR AWESOME
> > -Erik
> > 
> 
> 
-- 
edscott wilson garcia <edscott at xfce.org>



More information about the Xfce4-dev mailing list