Ecere Software
/
ede
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
451d1bd
)
explorer: attemp at opening files with desktop environment's file associations.
author
Rejean Loyer
<rejean.loyer@gmail.com>
Thu, 15 Sep 2011 00:34:22 +0000
(20:34 -0400)
committer
Rejean Loyer
<rejean.loyer@gmail.com>
Thu, 15 Sep 2011 00:34:22 +0000
(20:34 -0400)
explorer/src/ExplorerWindow.ec
patch
|
blob
|
history
diff --git
a/explorer/src/ExplorerWindow.ec
b/explorer/src/ExplorerWindow.ec
index
2a61c01
..
38b30b6
100644
(file)
--- a/
explorer/src/ExplorerWindow.ec
+++ b/
explorer/src/ExplorerWindow.ec
@@
-299,8
+299,15
@@
class ExplorerWindow : Window
if(node.type.isFile)
{
char command[MAX_LOCATION];
- char * t = node.path;
- sprintf(command, "ide %s", node.path);
+ /*_FileType t = node.type;
+ if(t == ewsFile || t == epjFile ||
+ t == ecFile || t == ehFile ||
+ t == cppFile || t == hppFile ||
+ t == cFile || t == hFile ||
+ t == textFile || t == webFile)*/
+ sprintf(command, "ide %s", node.path);
+ /*else
+ sprintf(command, "%s", node.path);*/
ShellOpen(command);
}
return true;