[pdfmod] Do a better check for where to find the user guide



commit bcb108f5a4aeef9f9d438f413840a6f2c59e3cbd
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Tue Jul 28 11:44:22 2009 -0700

    Do a better check for where to find the user guide

 src/PdfMod/PdfMod/GlobalActions.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/PdfMod/PdfMod/GlobalActions.cs b/src/PdfMod/PdfMod/GlobalActions.cs
index c2a22ae..60eed69 100644
--- a/src/PdfMod/PdfMod/GlobalActions.cs
+++ b/src/PdfMod/PdfMod/GlobalActions.cs
@@ -337,7 +337,7 @@ namespace PdfMod
                 string help_dir = null;
                 foreach (var dir in new string [] { "/usr/share/gnome/help/", "/usr/local/share/gnome/help/", "docs/" }) {
                     help_dir = dir;
-                    if (System.IO.Directory.Exists (dir)) {
+                    if (System.IO.Directory.Exists (dir + "pdfmod/")) {
                         break;
                     }
                 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]