mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-17 02:13:35 +02:00
neutrino: add "need_reboot" feature
Origin commit data
------------------
Branch: ni/coolstream
Commit: f6253de913
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-14 (Tue, 14 Nov 2017)
Origin message was:
------------------
- neutrino: add "need_reboot" feature
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1726,6 +1726,7 @@ typedef enum
|
||||
LOCALE_MESSAGEBOX_EXIT,
|
||||
LOCALE_MESSAGEBOX_FEATURE_NOT_SUPPORTED,
|
||||
LOCALE_MESSAGEBOX_INFO,
|
||||
LOCALE_MESSAGEBOX_NEED_REBOOT,
|
||||
LOCALE_MESSAGEBOX_NO,
|
||||
LOCALE_MESSAGEBOX_OK,
|
||||
LOCALE_MESSAGEBOX_YES,
|
||||
|
@@ -1726,6 +1726,7 @@ const char * locale_real_names[] =
|
||||
"messagebox.exit",
|
||||
"messagebox.feature_not_supported",
|
||||
"messagebox.info",
|
||||
"messagebox.need_reboot",
|
||||
"messagebox.no",
|
||||
"messagebox.ok",
|
||||
"messagebox.yes",
|
||||
|
@@ -254,6 +254,8 @@ bool CFlagFileNotifier::changeNotify(const neutrino_locale_t, void * data)
|
||||
}
|
||||
remove(flagfile.c_str());
|
||||
}
|
||||
if (strstr(filename, "ciplushelper"))
|
||||
CNeutrinoApp::getInstance()->exec(NULL, "need_reboot");
|
||||
return menu_return::RETURN_REPAINT;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user