X-Git-Url: http://ecere.com/cgi-bin/gitweb.cgi?p=ede;a=blobdiff_plain;f=explorer%2Fsrc%2FExplorerWindow.ec;h=38b30b6efc6e98f4dc24f030597e0d68f91a555a;hp=82c991eea3fd53ad9008ac3ffbc51ca2a57d22d7;hb=7026df30146176cf9fe585a33f3539d4f299515e;hpb=ff99fe85a4c0f62216d54470ebe205fa568096dc diff --git a/explorer/src/ExplorerWindow.ec b/explorer/src/ExplorerWindow.ec index 82c991e..38b30b6 100644 --- a/explorer/src/ExplorerWindow.ec +++ b/explorer/src/ExplorerWindow.ec @@ -16,7 +16,11 @@ enum ExplorerToolId class ExplorerWindow : Window { +#ifdef _DEBUG + text = "Ecere Explorer (Debug)"; +#else text = "Ecere Explorer"; +#endif background = activeBorder; borderStyle = sizable; hasMaximize = true; @@ -288,13 +292,22 @@ class ExplorerWindow : Window navigateFolders = true; borderStyle = none; + multiSelect = true; + bool NotifyNodeOpen(FileSystemBox box, FileSystemNode node) { 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;