Fix multiple ReaderFrontLight instances, i18n issues, and refactor event handling to follow codebase patterns

This commit is contained in:
Paulo Matias committed 2013-08-12 02:13:28 -03:00
1 parent 0d421afbe4
commit 232d8cd74a
3 files changed
+13 -35

No files matched your search

-8
View File
@@ -56,14 +56,6 @@ function ReaderMenu:setUpdateItemTable()
for _, widget in pairs(self.registered_widgets) do
widget:addToMainMenu(self.tab_item_table)
end
if Device:hasFrontlight() then
table.insert(self.tab_item_table.main, {
text = _("Frontlight settings"),
callback = function()
ReaderFrontLight:onShowFlDialog()
end
})
end
table.insert(self.tab_item_table.main, {
text = _("Help"),
callback = function()