Commit fa24eccbd2f4841feb768105e4418756bb0415f2
- Diff rendering mode:
- inline
- side by side
lib/limanageapp.pas
(5 / 6)
|   | |||
| 350 | 350 | msg(rsLoading); | |
| 351 | 351 | blst := TStringList.Create; //Create Blacklist | |
| 352 | 352 | ||
| 353 | p_debug('SUMode: ' + BoolToStr(sumode)); | ||
| 353 | if sumode then | ||
| 354 | p_debug('SUMode: Yes') | ||
| 355 | else | ||
| 356 | p_debug('SUMode: No'); | ||
| 354 | 357 | ||
| 355 | 358 | db := TSoftwareDB.Create; | |
| 356 | 359 | db.Load(sumode); | |
| … | … | ||
| 414 | 414 | xtmp := FindAllFiles('/usr/local/share/applications/', '*.desktop', true); | |
| 415 | 415 | for i := 0 to xtmp.Count - 1 do | |
| 416 | 416 | tmp.Add(xtmp[i]); | |
| 417 | |||
| 418 | {xtmp.Assign(FindAllFiles('/usr/share/games/applications/','*.desktop',true)); | ||
| 419 | for i:=0 to xtmp.Count-1 do tmp.Add(xtmp[i]); } | ||
| 417 | xtmp.Free; | ||
| 420 | 418 | end | |
| 421 | 419 | else | |
| 422 | 420 | tmp := FindAllFiles(GetEnvironmentVariable('HOME') + | |
| 423 | 421 | '/.local/share/applications', '*.desktop', false); | |
| 424 | |||
| 425 | xtmp.Free; | ||
| 426 | 422 | ||
| 427 | 423 | for i := 0 to tmp.Count - 1 do | |
| 428 | 424 | begin |
lib/softwaredb.pas
(3 / 3)
|   | |||
| 168 | 168 | end; | |
| 169 | 169 | CreateTable; | |
| 170 | 170 | end; | |
| 171 | Active := true; | ||
| 172 | //ApplyUpdates; | ||
| 173 | Open; | ||
| 171 | 174 | end; | |
| 172 | Active := true; | ||
| 173 | //ApplyUpdates; | ||
| 174 | Open; | ||
| 175 | 175 | end; | |
| 176 | 176 | p_info(rsDBOpened); | |
| 177 | 177 | end; |
src/frontends/manager.pas
(0 / 1)
|   | |||
| 200 | 200 | Result := true; | |
| 201 | 201 | with MnFrm do | |
| 202 | 202 | begin | |
| 203 | writeLn(obj^.IconName); | ||
| 204 | 203 | currAppList.ItemFromAppInfo(obj^); | |
| 205 | 204 | end; | |
| 206 | 205 | Application.ProcessMessages; |

