From c51ace19c43e034afe33b91159e82467a8c26026 Mon Sep 17 00:00:00 2001
From: "Silas S. Brown" <ssb22@cam.ac.uk>
Date: Wed, 1 Sep 2010 17:36:20 +0000
Subject: [PATCH] Gradint update

git-svn-id: http://svn.code.sf.net/p/e-guidedog/code/ssb22/gradint@903 29193198-4895-4776-b068-10539e920549
---
 gradint-build/src/frontend.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gradint-build/src/frontend.py b/gradint-build/src/frontend.py
index 9c56824..c65675d 100644
--- a/gradint-build/src/frontend.py
+++ b/gradint-build/src/frontend.py
@@ -1093,7 +1093,7 @@ if useTK:
         if "KDE_FULL_SESSION" is os.environ and got_program("kfmclient"):
             # looks like we're in a KDE session and can use the kfmclient command
             textEditorCommand=explorerCommand="kfmclient exec"
-        elif got_program("gnome-open"):
+        elif not olpc and got_program("gnome-open"):
             textEditorCommand=explorerCommand="gnome-open"
         elif got_program("rox"):
             # rox is available - try using that to open directories
-- 
GitLab