Ecere Software
/
ede
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
01dca8b
)
explorer: fixed opening nodes that specify a path
author
Rejean Loyer
<rejean.loyer@gmail.com>
Fri, 16 Sep 2011 16:24:35 +0000
(12:24 -0400)
committer
Rejean Loyer
<rejean.loyer@gmail.com>
Fri, 16 Sep 2011 16:24:35 +0000
(12:24 -0400)
explorer/src/ExplorerWindow.ec
patch
|
blob
|
history
diff --git
a/explorer/src/ExplorerWindow.ec
b/explorer/src/ExplorerWindow.ec
index
c557372
..
fa7bf4c
100644
(file)
--- a/
explorer/src/ExplorerWindow.ec
+++ b/
explorer/src/ExplorerWindow.ec
@@
-357,20
+357,23
@@
class ExplorerWindow : Window
{
if(node.type.isFile)
{
{
if(node.type.isFile)
{
+ char path[MAX_LOCATION];
#ifndef __WIN32__
char command[MAX_LOCATION];
#ifndef __WIN32__
char command[MAX_LOCATION];
+ node.GetPath(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)*/
/*_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);
+ sprintf(command, "ide %s", path);
/*else
/*else
- sprintf(command, "%s",
node.
path);*/
+ sprintf(command, "%s", path);*/
Execute(command);
#else
Execute(command);
#else
- ShellOpen(node.path);
+ node.GetPath(path);
+ ShellOpen(path);
#endif
}
else if(node.type.isFolder && tree.visible)
#endif
}
else if(node.type.isFolder && tree.visible)