diff --git a/src/gui/miscsettings_menu.cpp b/src/gui/miscsettings_menu.cpp index 8bee67308..efe50d3eb 100644 --- a/src/gui/miscsettings_menu.cpp +++ b/src/gui/miscsettings_menu.cpp @@ -163,25 +163,21 @@ int CMiscMenue::exec(CMenuTarget* parent, const std::string &actionKey) } else if(actionKey == "epg_read_now" || actionKey == "epg_read_now_usermenu") { - CHint *hint = new CHint(LOCALE_MISCSETTINGS_EPG_READ); - hint->setDelay(1); - hint->paint(); - struct stat my_stat; if (stat(g_settings.epg_dir.c_str(), &my_stat) == 0) { printf("Reading epg cache from %s ...\n", g_settings.epg_dir.c_str()); - g_Sectionsd->readSIfromXML(g_settings.epg_dir.c_str()); +// g_Sectionsd->readSIfromXML(g_settings.epg_dir.c_str()); + ShowHintS(LOCALE_MISCSETTINGS_EPG_READ, sigc::bind(sigc::mem_fun(g_Sectionsd, &CSectionsdClient::readSIfromXML), g_settings.epg_dir.c_str()), 1); } for (std::list::iterator it = g_settings.xmltv_xml.begin(); it != g_settings.xmltv_xml.end(); ++it) { printf("Reading xmltv epg from %s ...\n", (*it).c_str()); - g_Sectionsd->readSIfromXMLTV((*it).c_str()); +// g_Sectionsd->readSIfromXMLTV((*it).c_str()); + ShowHintS(LOCALE_MISCSETTINGS_EPG_READ, sigc::bind(sigc::mem_fun(g_Sectionsd, &CSectionsdClient::readSIfromXMLTV), (*it).c_str()), 1); } - delete hint; - if (actionKey == "epg_read_now_usermenu") return menu_return::RETURN_EXIT_ALL; else