Yea, this is what I'm looking for - not a default application for specific MIME 
type, but a member of suggested applications list for such type.
As far as I could understand I need this: 
http://developers.sun.com/solaris/articles/integrating_gnome.html

-----Original Message-----
From: Magnus Therning [mailto:[email protected]] 
Sent: Thursday, January 14, 2010 2:51 PM
To: Alexander M. Batishchev
Cc: [email protected]
Subject: Re: How to register a application being in Nautilus a 'plain text 
editor' or 'XML editor'?

On Thu, Jan 14, 2010 at 11:29 AM, Alexander M. Batishchev
<[email protected]> wrote:
> How can I do this programmatically while my application is installing? In 
> make file I guess.

First of all you really, really shouldn't!  Choosing the default
application for a file type should be left to the user.

I believe that if you place a .desktop file in a location like
/usr/share/applications/ (probably distro specific) and it includes a
MimeType entry, then your application will be entered into the list of
applications that the user can choose from in the properties dialogue.

/M


_______________________________________________
gnome-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-list

Reply via email to