Return an alphabetically sorted list of GnomeVFSMimeApplication
data structures for the requested mime type. The short list contains
"select" applications recommended for handling this MIME type, appropriate for
display to the user.
mime_type :
A const char * containing a mime type, e.g. "image/png"
Returns :
A GList * where the elements are GnomeVFSMimeApplication *
representing various applications to display in the short list for mime_type.
Return an unsorted sorted list of OAF_ServerInfo *
data structures for the requested mime type. The short list contains
"select" components recommended for handling this MIME type, appropriate for
display to the user.
mime_type :
A const char * containing a mime type, e.g. "image/png"
Returns :
A GList * where the elements are OAF_ServerInfo *
representing various components to display in the short list for mime_type.
Return an alphabetically sorted list of GnomeVFSMimeApplication
data structures representing all applications in the MIME database registered
to handle files of MIME type mime_type (and supertypes).
mime_type :
A const char * containing a mime type, e.g. "image/png"
Returns :
A GList * where the elements are GnomeVFSMimeApplication *
representing applications that handle MIME type mime_type.
Return an alphabetically sorted list of OAF_ServerInfo
data structures representing all Bonobo components registered
to handle files of MIME type mime_type (and supertypes).
mime_type :
A const char * containing a mime type, e.g. "image/png"
Returns :
A GList * where the elements are OAF_ServerInfo *
representing components that can handle MIME type mime_type.
Query the MIME database for an icon representing the specified MIME type.
mime_type :
A const char * containing a MIME type
Returns :
The filename of the icon as listed in the MIME database. This is
usually a filename without path information, e.g. "i-chardev.png", and sometimes
does not have an extension, e.g. "i-regular" if the icon is supposed to be image
type agnostic between icon themes. Icons are generic, and not theme specific. These
will not necessarily match with the icons a user sees in Nautilus, you have been warned.
Set the icon entry for a particular MIME type in the MIME database. Note that
icon entries need not necessarily contain the full path, and do not necessarily need to
specify an extension. So "i-regular", "my-special-icon.png", and "some-icon"
are all valid icon filenames.
mime_type :
A const char * containing a MIME type
filename :
a const char * containing an image filename
Returns :
A GnomeVFSResult indicating the success of the operation
or any errors that may have occurred.
Add an application to the short list for MIME type mime_type. The short list contains
applications recommended for display as choices to the user for a particular MIME type.
mime_type :
A const char * containing a mime type, e.g. "application/x-php"
application_id :
const char * containing the application's id in the MIME database
Returns :
A GnomeVFSResult indicating the success of the operation or reporting
any errors encountered.
Remove an application from the short list for MIME type mime_type. The short list contains
applications recommended for display as choices to the user for a particular MIME type.
mime_type :
A const char * containing a mime type, e.g. "application/x-php"
application_id :
const char * containing the application's id in the MIME database
Returns :
A GnomeVFSResult indicating the success of the operation or reporting
any errors encountered.
Add a component to the short list for MIME type mime_type. The short list contains
components recommended for display as choices to the user for a particular MIME type.
mime_type :
A const char * containing a mime type, e.g. "application/x-php"
iid :
const char * containing the component's OAF IID
Returns :
A GnomeVFSResult indicating the success of the operation or reporting
any errors encountered.
Remove a component from the short list for MIME type mime_type. The short list contains
components recommended for display as choices to the user for a particular MIME type.
mime_type :
A const char * containing a mime type, e.g. "application/x-php"
iid :
const char * containing the component's OAF IID
Returns :
A GnomeVFSResult indicating the success of the operation or reporting
any errors encountered.
A new list where each GnomeVFSMimeApplication in the original
list is replaced by a char * with the application's id. The original list is
not modified.