Rev 5214 | Rev 5398 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5214 | Rev 5397 | ||
---|---|---|---|
Line 81... | Line 81... | ||
81 | ?define T_SELECT_APP_TO_OPEN_WITH "Select application to open file" |
81 | ?define T_SELECT_APP_TO_OPEN_WITH "Select application to open file" |
82 | #endif |
82 | #endif |
Line 83... | Line 83... | ||
83 | 83 | ||
Line 84... | Line 84... | ||
84 | enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir |
84 | enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir |
85 | 85 | ||
86 | #define TITLE "Eolite File Manager v2.41" |
86 | #define TITLE "Eolite File Manager v2.42" |
Line 87... | Line 87... | ||
87 | #define ABOUT_TITLE "Eolite v2.41" |
87 | #define ABOUT_TITLE "Eolite v2.42" |
88 | dword col_padding, col_selec, col_lpanel; |
88 | dword col_padding, col_selec, col_lpanel; |
89 | 89 | ||
Line 133... | Line 133... | ||
133 | #include "include\ini.h" |
133 | #include "include\ini.h" |
134 | #include "include\left_panel.h" |
134 | #include "include\left_panel.h" |
135 | #include "include\history.h" |
135 | #include "include\history.h" |
136 | #include "include\menu.h" |
136 | #include "include\menu.h" |
137 | #include "include\about.h" |
137 | #include "include\about.h" |
138 | #include "include\open_with.h" |
- | |
Line 139... | Line 138... | ||
139 | 138 | ||
140 | void SetAppColors() |
139 | void SetAppColors() |
141 | { |
140 | { |
142 | sc.work = 0xE4DFE1; |
141 | sc.work = 0xE4DFE1; |
Line 895... | Line 894... | ||
895 | void Open() |
894 | void Open() |
896 | { |
895 | { |
897 | if (!files.count) return; |
896 | if (!files.count) return; |
898 | if (!itdir) |
897 | if (!itdir) |
899 | { |
898 | { |
900 | GetIni(0); |
899 | RunProgram("/sys/@open", #file_path); |
901 | } |
900 | } |
902 | else |
901 | else |
903 | { |
902 | { |
904 | if (!strcmp(#file_name,"..")) { Dir_Up(); return; } |
903 | if (!strcmp(#file_name,"..")) { Dir_Up(); return; } |
905 | strcpy(#path, #file_path); |
904 | strcpy(#path, #file_path); |
Line 915... | Line 914... | ||
915 | char cur_folder[4096]; |
914 | char cur_folder[4096]; |
916 | strcpy(#cur_folder, GetCurrentFolder()); |
915 | strcpy(#cur_folder, GetCurrentFolder()); |
917 | if (HistoryPath(GO_BACK)) SelectFile(#cur_folder); |
916 | if (HistoryPath(GO_BACK)) SelectFile(#cur_folder); |
918 | } |
917 | } |
Line -... | Line 918... | ||
- | 918 | ||
- | 919 | void ShowOpenWithDialog() |
|
- | 920 | { |
|
- | 921 | byte param[4097]; |
|
- | 922 | param[0] = '~'; |
|
- | 923 | strcat(#param, #file_path); |
|
- | 924 | RunProgram("/sys/@open", #param); |
|
- | 925 | } |
|
919 | 926 | ||
920 | void FnProcess(char N) |
927 | void FnProcess(char N) |
921 | { |
928 | { |
922 | switch(N) |
929 | switch(N) |
923 | { |
930 | { |