Patch from JRB for 88443

2002-08-07  Jody Goldberg <jody@gnome.org>
	Patch from JRB for 88443

	* theme-switcher.c (read_themes) : store the current cursor

2002-08-07  Jody Goldberg <jody@gnome.org>

	* mime-edit-dialog.c (mime_edit_dialog_get_app) : Be extra anal, just
	  in case the db is corrupt.
This commit is contained in:
Jody Goldberg 2002-08-07 17:06:12 +00:00 committed by Jody Goldberg
parent 97c9f86f49
commit fe247b1685
4 changed files with 25 additions and 26 deletions

View file

@ -1,3 +1,8 @@
2002-08-07 Jody Goldberg <jody@gnome.org>
* mime-edit-dialog.c (mime_edit_dialog_get_app) : Be extra anal, just
in case the db is corrupt.
2002-08-05 Jody Goldberg <jody@gnome.org>
* mime-edit-dialog.c (mime_edit_dialog_get_app) : work around

View file

@ -702,7 +702,7 @@ mime_edit_dialog_get_app (GladeXML *glade, char const *mime_type,
/* Look for a matching application (with or without path) */
if (app_cmd != NULL &&
(!strcmp (cmd, app_cmd) || !strcmp (base_cmd, app_cmd))) {
(!strcmp (cmd, app_cmd) || (*base_cmd && !strcmp (base_cmd, app_cmd)))) {
gboolean ok, app_req = gnome_vfs_application_registry_get_bool_value (ptr->data,
GNOME_VFS_APPLICATION_REGISTRY_REQUIRES_TERMINAL, &ok);
if (ok && app_req == requires_terminal)