CFile: add filetypes for install and update packages

Origin commit data
------------------
Commit: 7ada20de64
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-21 (Sun, 21 Dec 2014)
This commit is contained in:
2014-12-21 00:32:30 +01:00
parent 7660a6f5ff
commit ecb186b43c
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