Display the list of applications installed in the system for a mime type

2002-12-09  Rajkumar Sivasamy <rajkumar.siva@wipro.com>

        * 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
This commit is contained in:
Rajkumar Sivasamy 2002-12-09 09:18:53 +00:00 committed by Rajkumar Sivasamy
parent 576a403736
commit 99c6596712
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2002-12-09 Rajkumar Sivasamy <rajkumar.siva@wipro.com>
* 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 <jody@gnome.org>
* Release 2.1.3

View file

@ -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 &&