[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [2/4] tools: enable .lnk thumbnailing in Gnome
From:       Nicholas van Oudtshoorn <vanoudt () gmail ! com>
Date:       2010-07-30 5:11:27
Message-ID: i2tmtv$8od$1 () dough ! gmane ! org
[Download RAW message or body]

On 07/28/2010 08:54 AM, Scott Ritchie wrote:
> On 07/26/2010 03:57 AM, Alexandre Julliard wrote:
> > Damjan Jovanovic<damjan.jov@gmail.com>  writes:
> > 
> > > diff --git a/tools/Makefile.in b/tools/Makefile.in
> > > index a9ec324..a0c9c99 100644
> > > --- a/tools/Makefile.in
> > > +++ b/tools/Makefile.in
> > > @@ -75,6 +75,8 @@ install install-lib:: wine.inf $(INSTALLDIRS)
> > > 	$(INSTALL_DATA) $(SRCDIR)/l_intl.nls $(DESTDIR)$(datadir)/wine/l_intl.nls
> > > 	$(INSTALL_DATA) $(SRCDIR)/wine.desktop \
> > >                 $(DESTDIR)$(datadir)/applications/wine.desktop
> > > 	-$(UPDATE_DESKTOP_DATABASE)
> > > +	gconftool --set -t string \
> > > /desktop/gnome/thumbnailers/application@x-ms-shortcut/command "wine \
> > > winemenubuilder -t %i %o" || true +	gconftool --set -t bool \
> > > /desktop/gnome/thumbnailers/application@x-ms-shortcut/enable "true" || true
> > 
> > There needs to be a better way of doing this. Probably filing a bug with
> > freedesktop.org is in order.
> > 
> 
> For sure.  Thumbnailers are just shell scripts, but there is currently
> no cross distro way to enable them.
> 
> My current "solution" is to just do this at the packaging layer and
> ignore KDE entirely until someone tells me the equivalent of installing
> gconf schemas, but this is obviously not good.
> 
> Thanks,
> Scott Ritchie
> 
> 
> 
Inspired by reading this in the newsgroup, I've thrown together a KDE 
plugin to do .lnk thumbnailing.

I don't suppose the code belongs in the wine project (for a number of 
reasons, not least of which it's C++). If anyone's interested, though, 
it's available at

http://code.google.com/p/kdewinelnkthumbnailer/

It'd be great if there was a cross-desktop way to do all of this...

- Nicholas van Oudtshoorn

(It's been a while since I've done any coding work, so it's probably not 
the most beautiful code! But it works!)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic