Re: Best way to register a file format plugin for an app with nautilus's mime-handler etc.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.

-- 
Fedora-desktop-list mailing list
Fedora-desktop-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-desktop-list

[Index of Archives]     [Fedora Users]     [Fedora KDE]     [Fedora Announce]     [Fedora Docs]     [Fedora Config]     [PAM]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux