[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Best way to register a file format plugin for an app with nautilus's mime-handler etc.
- From: Bastien Nocera <bnocera redhat com>
- To: Discussions about development for the Fedora desktop <fedora-desktop-list redhat com>
- Subject: Re: Best way to register a file format plugin for an app with nautilus's mime-handler etc.
- Date: Tue, 24 Feb 2009 10:47:07 +0000
On Tue, 2009-02-24 at 12:36 +0200, Nicu Buculei wrote:
> Caolán McNamara wrote:
> > So, here's the example scenario: Someone writes an extension for
> > OpenOffice.org writer which adds a file format importer and that gets
> > packaged into Fedora. Is there a way to then register the extra
> > mime-type that writer now supports if, and only if, that extension is
> > installed.
>
> This is supposed to also work the other way: with the extension NOT
> installed an user click on a file of that type and PackageKit pop-up,
> ask about installing the extension, do its job, the extension is
> installed and the file successfully opened?
Then package-kit can't find anything, because you haven't registered the
mime-type in any desktop files, so the fact that it's supported isn't
advertised in the RPM headers.
So the short answer is that you need a desktop file.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]