Changeset 18585
- Timestamp:
- 11/15/12 21:21:50 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/filemanager/filemanager.h
r18552 r18585 189 189 if(rcret == getrcconfigint("rcblue", NULL)) 190 190 { 191 char* search = textinputhist( "Search", " ", "searchhist");191 char* search = textinputhist(_("Create Folder"), " ", "searchhist"); 192 192 if(search != NULL) 193 193 { … … 206 206 drawscreen(filemanager2, 0, 0); 207 207 } 208 209 if(rcret == getrcconfigint("rcmenu", NULL)) 210 { 211 if(aktfilelist == 0) 212 tmpstr = ostrcat(filelist1->select->text, NULL, 0, 0); 213 else 214 tmpstr = ostrcat(filelist2->select->text, NULL, 0, 0); 215 216 char* search = textinput("Search", tmpstr); 217 free(tmpstr); tmpstr = NULL; 218 219 if(search != NULL) 220 { 221 if(aktfilelist == 0) 222 { 223 file1 = createpath(filelistpath1->text, filelist1->select->text); 224 tmpstr = createpath(filelistpath1->text, search); 225 { 226 else 227 } 228 file1 = createpath(filelistpath2->text, filelist2->select->text); 229 tmpstr = createpath(filelistpath2->text, search); 230 } 231 232 if(!file_exist(tmpstr)) 233 { 234 cmd = ostrcat(cmd, "mv \"", 1, 0); 235 cmd = ostrcat(cmd, file1, 1, 0); 236 cmd = ostrcat(cmd, "\" \"", 1, 0); 237 cmd = ostrcat(cmd, tmpstr, 1, 0); 238 cmd = ostrcat(cmd, "\"", 1, 0); 239 system(cmd); 240 free(cmd); cmd = NULL; 241 } 242 243 free(tmpstr); tmpstr = NULL; 244 } 245 drawscreen(filemanager, 0, 1); 246 drawscreen(filemanager1, 0, 1); 247 drawscreen(filemanager2, 0, 0); 248 } 249 250 208 251 } 209 252 else
Note: See TracChangeset
for help on using the changeset viewer.