Lines 364-370
Link Here
|
364 |
if (forceShow || showAtStartup) |
364 |
if (forceShow || showAtStartup) |
365 |
{ |
365 |
{ |
366 |
wxLogNull null; // disable error message if tips file does not exist |
366 |
wxLogNull null; // disable error message if tips file does not exist |
367 |
wxString tipsFile = ConfigManager::Get()->Read("/app_path") + "/tips.txt"; |
367 |
wxString tipsFile = ConfigManager::Get()->Read("/data_path") + "/tips.txt"; |
368 |
long tipsIndex = ConfigManager::Get()->Read("/next_tip", (long)0); |
368 |
long tipsIndex = ConfigManager::Get()->Read("/next_tip", (long)0); |
369 |
wxTipProvider* tipProvider = wxCreateFileTipProvider(tipsFile, tipsIndex); |
369 |
wxTipProvider* tipProvider = wxCreateFileTipProvider(tipsFile, tipsIndex); |
370 |
showAtStartup = wxShowTip(this, tipProvider, showAtStartup); |
370 |
showAtStartup = wxShowTip(this, tipProvider, showAtStartup); |
Lines 573-579
Link Here
|
573 |
|
573 |
|
574 |
PluginManager* m_PluginManager = Manager::Get()->GetPluginManager(); |
574 |
PluginManager* m_PluginManager = Manager::Get()->GetPluginManager(); |
575 |
|
575 |
|
576 |
wxString path = ConfigManager::Get()->Read("data_path") + "/plugins"; |
576 |
wxString path = ConfigManager::Get()->Read("plugin_path") + "/plugins"; |
577 |
m_pMsgMan->Log(_("Scanning for plugins in %s..."), path.c_str()); |
577 |
m_pMsgMan->Log(_("Scanning for plugins in %s..."), path.c_str()); |
578 |
int count = m_PluginManager->ScanForPlugins(path); |
578 |
int count = m_PluginManager->ScanForPlugins(path); |
579 |
m_pMsgMan->AppendLog(_("Found %d plugins: "), count); |
579 |
m_pMsgMan->AppendLog(_("Found %d plugins: "), count); |