summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDon Scorgie <dscorgie@src.gnome.org>2008-09-01 18:11:49 +0000
committerDon Scorgie <dscorgie@src.gnome.org>2008-09-01 18:11:49 +0000
commit60be550486d81688295e3baa2f5b7244482e421d (patch)
tree64b38d2ce24da1a7d2edf9f597a3102f12610f58
parent494edbf8202117f9681a0c9a0627f5a687d95bce (diff)
downloadyelp-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--ChangeLog5
-rw-r--r--src/yelp-utils.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 595f305b..c627dbcb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;