patch from Till Adam <till@adam-lilienthal.de> to not die if we have the
Sun May 26 01:50:22 2002 Jonathan Blandford <jrb@gnome.org> * gnome-default-applications-properties.c (read_editor): patch from Till Adam <till@adam-lilienthal.de> to not die if we have the mimedata not installed.
This commit is contained in:
parent
9424074220
commit
73be46711d
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
Sun May 26 01:50:22 2002 Jonathan Blandford <jrb@gnome.org>
|
||||||
|
|
||||||
|
* gnome-default-applications-properties.c (read_editor): patch
|
||||||
|
from Till Adam <till@adam-lilienthal.de> to not die if we have the
|
||||||
|
mimedata not installed.
|
||||||
|
|
||||||
2002-05-20 jacob berkman <jacob@ximian.com>
|
2002-05-20 jacob berkman <jacob@ximian.com>
|
||||||
|
|
||||||
* gnome-default-applications-properties.c (text_apply_editor):
|
* gnome-default-applications-properties.c (text_apply_editor):
|
||||||
|
|
|
@ -218,7 +218,8 @@ read_editor (GConfClient *client,
|
||||||
gnome_vfs_mime_get_default_action_type ("text/plain") == GNOME_VFS_MIME_ACTION_TYPE_APPLICATION);
|
gnome_vfs_mime_get_default_action_type ("text/plain") == GNOME_VFS_MIME_ACTION_TYPE_APPLICATION);
|
||||||
|
|
||||||
mime_app = gnome_vfs_mime_get_default_application ("text/plain");
|
mime_app = gnome_vfs_mime_get_default_application ("text/plain");
|
||||||
if (!strcmp (mime_app->id, MIME_APPLICATION_ID))
|
|
||||||
|
if (mime_app == NULL || !strcmp (mime_app->id, MIME_APPLICATION_ID))
|
||||||
goto read_editor_custom;
|
goto read_editor_custom;
|
||||||
|
|
||||||
for (li = text_editors; li; li = li->next) {
|
for (li = text_editors; li; li = li->next) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue