mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
- neutrino: add "need_reboot" feature
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -1821,6 +1821,7 @@ typedef enum
|
||||
LOCALE_MESSAGEBOX_ERROR,
|
||||
LOCALE_MESSAGEBOX_FEATURE_NOT_SUPPORTED,
|
||||
LOCALE_MESSAGEBOX_INFO,
|
||||
LOCALE_MESSAGEBOX_NEED_REBOOT,
|
||||
LOCALE_MESSAGEBOX_NO,
|
||||
LOCALE_MESSAGEBOX_OK,
|
||||
LOCALE_MESSAGEBOX_YES,
|
||||
|
@@ -1821,6 +1821,7 @@ const char * locale_real_names[] =
|
||||
"messagebox.error",
|
||||
"messagebox.feature_not_supported",
|
||||
"messagebox.info",
|
||||
"messagebox.need_reboot",
|
||||
"messagebox.no",
|
||||
"messagebox.ok",
|
||||
"messagebox.yes",
|
||||
|
@@ -206,6 +206,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