Commit so that we can branch
2002-07-17 Jody Goldberg <jody@gnome.org> * mime-type-info.c (mime_type_info_new) : no need to preload the icon. (mime_type_info_load_all) : nor here.
This commit is contained in:
parent
716e15d586
commit
ac01fe7534
2 changed files with 9 additions and 9 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-07-17 Jody Goldberg <jody@gnome.org>
|
||||
|
||||
* mime-type-info.c (mime_type_info_new) : no need to preload the icon.
|
||||
(mime_type_info_load_all) : nor here.
|
||||
|
||||
2002-07-17 Jody Goldberg <jody@gnome.org>
|
||||
|
||||
* file-types-properties.glade : tweak the padding a touch
|
||||
|
|
|
@ -82,13 +82,11 @@ mime_type_info_new (const gchar *mime_type, GtkTreeModel *model)
|
|||
|
||||
if (mime_type != NULL) {
|
||||
info->mime_type = g_strdup (mime_type);
|
||||
|
||||
mime_type_info_set_category_name (info, get_category_name (mime_type), get_category_description (mime_type), model);
|
||||
|
||||
mime_type_info_get_icon (info);
|
||||
} else {
|
||||
mime_type_info_set_category_name (info,
|
||||
get_category_name (mime_type),
|
||||
get_category_description (mime_type), model);
|
||||
} else
|
||||
info->entry.parent = get_model_entries (model);
|
||||
}
|
||||
|
||||
return info;
|
||||
}
|
||||
|
@ -105,9 +103,6 @@ mime_type_info_load_all (MimeTypeInfo *info)
|
|||
if (info->icon_name == NULL)
|
||||
info->icon_name = g_strdup (gnome_vfs_mime_get_icon (info->mime_type));
|
||||
|
||||
if (info->icon_pixbuf == NULL)
|
||||
get_icon_pixbuf (info, info->icon_name, TRUE);
|
||||
|
||||
if (info->default_action == NULL && info->mime_type != NULL) {
|
||||
/* DO NOT USE gnome_vfs_mime_get_default_application
|
||||
* it will silently remove non-existant applications
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue