Changeset 18491
- Timestamp:
- 11/08/12 15:53:58 (11 years ago)
- Location:
- titan/plugins
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/browser/browser.c
r18490 r18491 28 28 void start(void) 29 29 { 30 if(!file_exist("/var/swap/player"))31 mkdir("/var/swap/player", 0777);32 33 30 screenbrowser(); 34 31 } -
titan/plugins/browser/browser.h
r17093 r18491 187 187 if(ret == 1) return; 188 188 setfbtransparent(255); 189 190 if(!file_exist(getconfig("browserfavfile", NULL))) 191 { 192 if(!file_exist("/var/swap/player")) 193 mkdir("/var/swap/player", 0777); 194 195 char* cmd = NULL; 196 cmd = ostrcat("cp /var/etc/titan/browserfav ", getconfig("browserfavfile", NULL), 0, 0); 197 system(cmd); 198 free(cmd), cmd = NULL; 199 } 189 200 190 201 readbrowserfav(getconfig("browserfavfile", NULL)); -
titan/plugins/hbbtv/hbbtv.c
r18490 r18491 28 28 void start(void) 29 29 { 30 if(!file_exist("/var/swap/player"))31 mkdir("/var/swap/player", 0777);32 33 30 screenoperafav(); 34 31 } … … 37 34 void starturl(void) 38 35 { 39 if(!file_exist("/var/swap/player"))40 mkdir("/var/swap/player", 0777);41 42 36 if(status.aktservice->channel != NULL && status.aktservice->channel->hbbtvurl != NULL) 43 37 { -
titan/plugins/hbbtv/hbbtv.h
r17608 r18491 361 361 char* opera_root, *opera_bin = NULL, *opera_dir = NULL; 362 362 char* opera_home = NULL, *opera_fonts = NULL, *opera_widgets = NULL; 363 364 if(!file_exist(getconfig("hbbtvfavfile", NULL))) 365 { 366 if(!file_exist("/var/swap/player")) 367 mkdir("/var/swap/player", 0777); 368 369 char* cmd = NULL; 370 cmd = ostrcat("cp /var/etc/titan/hbbtvfav ", getconfig("hbbtvfavfile", NULL), 0, 0); 371 system(cmd); 372 free(cmd), cmd = NULL; 373 } 363 374 364 375 if(isdir("/var/usr/local/share/titan/plugins/hbbtv/opera")) … … 731 742 //setfbtransparent(255); 732 743 744 if(!file_exist(getconfig("hbbtvfavfile", NULL))) 745 { 746 if(!file_exist("/var/swap/player")) 747 mkdir("/var/swap/player", 0777); 748 749 char* cmd = NULL; 750 cmd = ostrcat("cp /var/etc/titan/hbbtvfav ", getconfig("hbbtvfavfile", NULL), 0, 0); 751 system(cmd); 752 free(cmd), cmd = NULL; 753 } 754 733 755 readhbbtvfav(getconfig("hbbtvfavfile", NULL)); 734 756 node = hbbtvfav;
Note: See TracChangeset
for help on using the changeset viewer.