mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
CFile: add filetypes for install and update packages
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user