RE: How to register a application being in Nautilus a 'plain text editor' or 'XML editor'?

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

 



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:magnus@xxxxxxxxxxxx] 
Sent: Thursday, January 14, 2010 2:51 PM
To: Alexander M. Batishchev
Cc: gnome-list@xxxxxxxxx
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
<abatishchev@xxxxxxxxxxxxxxxx> 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
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list

[Index of Archives]     [Fedora Desktop]     [Trinity Users]     [KDE]     [Gimp]     [Yosemite News]

  Powered by Linux