Home | History | Annotate | Download | only in gio

Lines Matching refs:mime

46  * of a file. On unix it is a mime type, on win32 it is an extension string
187 char *mime;
191 mime = get_registry_classes_key (type, L"Content Type");
192 if (mime)
193 return mime;
311 key = g_strconcat ("MIME\\DataBase\\Content Type\\", mime_type, NULL);
629 filename = g_build_filename (dir, "mime", basename, NULL);
725 * Gets the mime-type for the content type. If one is registered
727 * Returns: the registered mime-type for the given @type, or NULL if unknown.
773 legacy_mimetype_icon = g_strconcat ("gnome-mime-", mimetype_icon, NULL);
843 * @mime_type: a mime type string.
845 * Tries to find a content type based on the mime type name.
859 /* mime type and content type are same on unixes */
1028 mimedir = g_build_filename (dir, "mime", NULL);
1275 filename = g_build_filename (prefix, "mime", "treemagic", NULL);
1279 if (strcmp (text, "MIME-TreeMagic") == 0)
1281 lines = g_strsplit (text + strlen ("MIME-TreeMagic") + 2, "\n", 0);
1634 * (for a camera memory card). See the <ulink url="http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec">shared-mime-info</ulink>