Call _get_mime_application

2002-01-27  Bradford Hovinen  <hovinen@ximian.com>

	* mime-type-info.c (mime_category_info_load_all): Call
	_get_mime_application
This commit is contained in:
Bradford Hovinen 2002-01-27 20:34:00 +00:00 committed by Bradford Hovinen (Gdict maintainer)
parent 00c28ff090
commit 1346c8811b
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2002-01-27 Bradford Hovinen <hovinen@ximian.com> 2002-01-27 Bradford Hovinen <hovinen@ximian.com>
* mime-type-info.c (mime_category_info_load_all): Call
_get_mime_application
* mime-types-model.c (mime_types_model_get_value): Invoke gettext * mime-types-model.c (mime_types_model_get_value): Invoke gettext
macro on the category name macro on the category name

View file

@ -359,7 +359,7 @@ mime_category_info_load_all (MimeCategoryInfo *category)
if (appid != NULL && *appid != '\0') { if (appid != NULL && *appid != '\0') {
tmp = g_strdup_printf ("Custom %s", category->name); tmp = g_strdup_printf ("Custom %s", category->name);
app = gnome_vfs_mime_application_new_from_id (appid); app = gnome_vfs_application_registry_get_mime_application (appid);
if (!strcmp (app->name, tmp)) { if (!strcmp (app->name, tmp)) {
category->default_action = NULL; category->default_action = NULL;
category->custom_line = app->command; category->custom_line = app->command;