mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
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:
@@ -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