From 99c6596712042a58a04f767580145d142ff60aab Mon Sep 17 00:00:00 2001 From: Rajkumar Sivasamy Date: Mon, 9 Dec 2002 09:18:53 +0000 Subject: [PATCH] Display the list of applications installed in the system for a mime type 2002-12-09 Rajkumar Sivasamy * mime-edit-dialog.c: Display the list of applications installed in the system for a mime type rather than displaying all the applications associated to that mime type. Fixes bug 94757 --- capplets/file-types/ChangeLog | 7 +++++++ capplets/file-types/mime-edit-dialog.c | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/capplets/file-types/ChangeLog b/capplets/file-types/ChangeLog index d782625d2..b991e104b 100644 --- a/capplets/file-types/ChangeLog +++ b/capplets/file-types/ChangeLog @@ -1,3 +1,10 @@ +2002-12-09 Rajkumar Sivasamy + + * mime-edit-dialog.c: Display the list of applications installed + in the system for a mime type rather than displaying all the + applications associated to that mime type. + Fixes bug 94757 + 2002-11-23 Jody Goldberg * Release 2.1.3 diff --git a/capplets/file-types/mime-edit-dialog.c b/capplets/file-types/mime-edit-dialog.c index a2f0f112c..c22837a29 100644 --- a/capplets/file-types/mime-edit-dialog.c +++ b/capplets/file-types/mime-edit-dialog.c @@ -565,10 +565,10 @@ populate_application_list (MimeEditDialog *dialog) menu = GTK_MENU (gtk_menu_new ()); - app_list = gnome_vfs_application_registry_get_applications (dialog->p->info->mime_type); + app_list = gnome_vfs_mime_get_short_list_applications (dialog->p->info->mime_type); for (tmp = app_list, i = 0; tmp != NULL; tmp = tmp->next, i++) { - app = gnome_vfs_application_registry_get_mime_application (tmp->data); + app = tmp->data; if (dialog->p->info->default_action != NULL && dialog->p->info->default_action->id != NULL &&