diff options
author | Don Scorgie <dscorgie@src.gnome.org> | 2008-09-01 18:11:49 +0000 |
---|---|---|
committer | Don Scorgie <dscorgie@src.gnome.org> | 2008-09-01 18:11:49 +0000 |
commit | 60be550486d81688295e3baa2f5b7244482e421d (patch) | |
tree | 64b38d2ce24da1a7d2edf9f597a3102f12610f58 | |
parent | 494edbf8202117f9681a0c9a0627f5a687d95bce (diff) | |
download | yelp-60be550486d81688295e3baa2f5b7244482e421d.tar.gz |
Make text files actually work (i.e. open external vewing program)
* src/yelp-utils.c (resolve_full_file):
Make text files actually work (i.e. open external vewing
program)
svn path=/trunk/; revision=3183
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/yelp-utils.c | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -1,5 +1,10 @@ 2008-09-01 Don Scorgie <dscorgie@svn.gnome.org> + * src/yelp-utils.c (resolve_full_file): + Make text files actually work (i.e. open external vewing program) + +2008-09-01 Don Scorgie <dscorgie@svn.gnome.org> + * src/yelp-utils.c (resolve_is_man_path): Don't crash when trying to load text files bug #549986 - Josselin Mouette diff --git a/src/yelp-utils.c b/src/yelp-utils.c index 13fe6925..567593f4 100644 --- a/src/yelp-utils.c +++ b/src/yelp-utils.c @@ -203,6 +203,8 @@ resolve_full_file (const gchar *path) type = YELP_RRN_TYPE_INFO; } else if (resolve_is_man_path (path, NULL)) { type = YELP_RRN_TYPE_MAN; + } else { + type = YELP_RRN_TYPE_EXTERNAL; } } else { type = YELP_RRN_TYPE_EXTERNAL; |