Gnome vfs loads the *entire* mime system here:
{{{static void vfs_change_cb (GnomeVFSMIMEMonitor *monitor, GConfClient *client) {
- GnomeVFSMimeApplication *star_app, *plain_app; GnomeVFSMimeActionType action; PRINT_STATE; if (!sync_changes)
- return;
if (star_app == NULL || plain_app == NULL) {
- if (star_app != NULL) {
- gnome_vfs_mime_application_free (star_app);
- gnome_vfs_mime_application_free (plain_app);
if (!strcmp (star_app->id, plain_app->id)) {
- gnome_vfs_mime_application_free (star_app); gnome_vfs_mime_application_free (plain_app); return;
#if DE_DEBUG
- g_message ("Synching text/plain to text/*...");
#endif
- action = gnome_vfs_mime_get_default_action_type ("text/plain");
gnome_vfs_mime_set_default_application ("text/*", plain_app->id); gnome_vfs_mime_application_free (plain_app); gnome_vfs_mime_set_default_action_type ("text/*", action); PRINT_STATE;
} }}}
(thats in gnome-control-center/gnome-settings-daemon/gnome-settings-default-editor.c).
This causes 160 kb of memory in g-s-d. Ugh.