1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-05 20:34:11 +01:00

Fixed external editor on Linux, maybe broke it for some other system?

This commit is contained in:
Martin Stubenschrott
2009-01-19 20:28:49 +01:00
parent 30db94b3db
commit 08dbdcb7ba
2 changed files with 8 additions and 2 deletions

View File

@@ -118,8 +118,13 @@ function IO() //{{{
try try
{ {
path.appendRelativePath(self.expandPath(tail, true)); // FIXME: should only expand env vars and normalise path separators path.appendRelativePath(self.expandPath(tail, true)); // FIXME: should only expand env vars and normalise path separators
if (path.exists() && path.normalize) // TODO: This code breaks the external editor at least in ubuntu
path.normalize(); // because /usr/bin/gvim becomes /usr/bin/vim.gnome normalized and for
// some strange reason it will start without a gui then (which is not
// optimal if you don't start firefox from a terminal ;)
// Why do we need this code?
// if (path.exists() && path.normalize)
// path.normalize();
} }
catch (e) catch (e)
{ {

View File

@@ -1,4 +1,5 @@
2009: 2009:
* Peleg Michaeli ("Every hand revealed" from my amazon.de wishlist)
* InspireFocus * InspireFocus
* Michael Fremont * Michael Fremont
* Kamil Dworakowski * Kamil Dworakowski