CFile: add filetypes for install and update packages

This commit is contained in:
2014-12-21 00:32:30 +01:00
parent 7520fee2ef
commit 7ada20de64
3 changed files with 14 additions and 12 deletions

View File

@@ -429,11 +429,11 @@ int COPKGManager::showMenu()
*/
//restart neutrino: user decision
if(!access( "/tmp/.restart", F_OK)){
int msg = ShowMsg(LOCALE_OPKG_TITLE, g_Locale->getText(LOCALE_OPKG_SUCCESS_INSTALL), CMsgBox::mbrNo,
CMsgBox::mbYesNo,
int msg = ShowMsg(LOCALE_OPKG_TITLE, g_Locale->getText(LOCALE_OPKG_SUCCESS_INSTALL), CMessageBox::mbrNo,
CMessageBox::mbYes | CMessageBox::mbNo,
NEUTRINO_ICON_QUESTION,
width);
if (msg == CMsgBox::mbrYes)
if (msg == CMessageBox::mbrYes)
exit_action = "restart";
}
//restart neutrino: forced