diff --git a/frontend/ui/elements/filemanager_menu_order.lua b/frontend/ui/elements/filemanager_menu_order.lua index 4619cdb8f..05383a573 100644 --- a/frontend/ui/elements/filemanager_menu_order.lua +++ b/frontend/ui/elements/filemanager_menu_order.lua @@ -84,6 +84,8 @@ local order = { "----------------------------", "screen_timeout", "fullscreen", + "----------------------------", + "screen_notification", }, taps_and_gestures = { "gesture_manager", diff --git a/frontend/ui/elements/screen_notification_menu_table.lua b/frontend/ui/elements/screen_notification_menu_table.lua index 4a815be16..4d980166b 100644 --- a/frontend/ui/elements/screen_notification_menu_table.lua +++ b/frontend/ui/elements/screen_notification_menu_table.lua @@ -22,62 +22,62 @@ This allows selecting which to show or hide.]]), end, sub_item_table = { { - text = _("No notifications"), - help_text = _("No notification popups will be shown."), - checked_func = function() - return getMask() == Notification.SOURCE_NONE - end, - callback = function() - setMask(Notification.SOURCE_NONE) - end, - separator = true, + text = _("No notifications"), + help_text = _("No notification popups will be shown."), + checked_func = function() + return getMask() == Notification.SOURCE_NONE + end, + callback = function() + setMask(Notification.SOURCE_NONE) + end, + separator = true, }, { - text = _("Some notifications from bottom menu"), - help_text = _("Show notification popups for bottom menu settings with no visual feedback."), - checked_func = function() - return band(getMask(), Notification.SOURCE_BOTTOM_MENU) == band(Notification.SOURCE_SOME, Notification.SOURCE_BOTTOM_MENU) - end, - callback = function() - if getMask() == Notification.SOURCE_ALL then - setMask(Notification.SOURCE_NONE) - end - setMask(bor( - band(Notification.SOURCE_SOME, Notification.SOURCE_BOTTOM_MENU), - band(getMask(), Notification.SOURCE_DISPATCHER))) - end, + text = _("Some notifications from bottom menu"), + help_text = _("Show notification popups for bottom menu settings with no visual feedback."), + checked_func = function() + return band(getMask(), Notification.SOURCE_BOTTOM_MENU) == band(Notification.SOURCE_SOME, Notification.SOURCE_BOTTOM_MENU) + end, + callback = function() + if getMask() == Notification.SOURCE_ALL then + setMask(Notification.SOURCE_NONE) + end + setMask(bor( + band(Notification.SOURCE_SOME, Notification.SOURCE_BOTTOM_MENU), + band(getMask(), Notification.SOURCE_DISPATCHER))) + end, }, { - text = _("More notifications from bottom menu"), - help_text = _("Show notification popups for more bottom menu settings."), - checked_func = function() - return band(getMask(), Notification.SOURCE_BOTTOM_MENU) == band(Notification.SOURCE_DEFAULT, Notification.SOURCE_BOTTOM_MENU) - end, - callback = function() - if getMask() == Notification.SOURCE_ALL then - setMask(Notification.SOURCE_NONE) - end - setMask(bor( - band(Notification.SOURCE_DEFAULT, Notification.SOURCE_BOTTOM_MENU), - band(getMask(), Notification.SOURCE_DISPATCHER))) - end, + text = _("More notifications from bottom menu"), + help_text = _("Show notification popups for more bottom menu settings."), + checked_func = function() + return band(getMask(), Notification.SOURCE_BOTTOM_MENU) == band(Notification.SOURCE_DEFAULT, Notification.SOURCE_BOTTOM_MENU) + end, + callback = function() + if getMask() == Notification.SOURCE_ALL then + setMask(Notification.SOURCE_NONE) + end + setMask(bor( + band(Notification.SOURCE_DEFAULT, Notification.SOURCE_BOTTOM_MENU), + band(getMask(), Notification.SOURCE_DISPATCHER))) + end, }, { - text = _("Notifications from gestures and profiles"), - help_text = _("Show notification popups for changes from gestures and the profiles plugin."), - checked_func = function() - return band(getMask(), Notification.SOURCE_DISPATCHER) ~= 0 and getMask() ~= Notification.SOURCE_ALL - end, - callback = function() - if getMask() == Notification.SOURCE_ALL then - setMask(Notification.SOURCE_NONE) - end + text = _("Notifications from gestures and profiles"), + help_text = _("Show notification popups for changes from gestures and the profiles plugin."), + checked_func = function() + return band(getMask(), Notification.SOURCE_DISPATCHER) ~= 0 and getMask() ~= Notification.SOURCE_ALL + end, + callback = function() + if getMask() == Notification.SOURCE_ALL then + setMask(Notification.SOURCE_NONE) + end - setMask(bor( - Notification.SOURCE_DISPATCHER, - band(getMask(), Notification.SOURCE_BOTTOM_MENU))) - end, - separator = true, + setMask(bor( + Notification.SOURCE_DISPATCHER, + band(getMask(), Notification.SOURCE_BOTTOM_MENU))) + end, + separator = true, }, } }