toggle_flash_on_chapter_boundaries={category="none",event="ToggleFlashOnChapterBoundaries",title=_("Toggle flashing on chapter boundaries"),device=true,condition=Device:hasEinkScreen(),},
set_no_flash_on_second_chapter_page={category="string",event="SetNoFlashOnSecondChapterPage",title=_("Never flash on chapter's 2nd page"),device=true,condition=Device:hasEinkScreen(),args={true,false},toggle={_("On"),_("Off")},},
toggle_no_flash_on_second_chapter_page={category="none",event="ToggleNoFlashOnSecondChapterPage",title=_("Toggle flashing on chapter's 2nd page"),device=true,condition=Device:hasEinkScreen(),separator=true,},
kosync_push_progress={category="none",event="KOSyncPushProgress",title=_("Push progress from this device"),rolling=true,paging=true,},
kosync_pull_progress={category="none",event="KOSyncPullProgress",title=_("Pull progress from other devices"),rolling=true,paging=true,separator=true,},
@ -57,8 +58,15 @@ function Calibre:closeWirelessConnection()
end
end
functionCalibre:onDispatcherRegisterActions()
Dispatcher:registerAction("calibre_search",{category="none",event="CalibreSearch",title=_("Search in calibre metadata"),device=true,})
Dispatcher:registerAction("calibre_browse_tags",{category="none",event="CalibreBrowseTags",title=_("Browse all calibre tags"),device=true,})
Dispatcher:registerAction("calibre_browse_series",{category="none",event="CalibreBrowseSeries",title=_("Browse all calibre series"),device=true,separator=true,})
@ -97,6 +98,11 @@ local function validateUser(user, pass)
end
end
functionKOSync:onDispatcherRegisterActions()
Dispatcher:registerAction("kosync_push_progress",{category="none",event="KOSyncPushProgress",title=_("Push progress from this device"),rolling=true,paging=true,})
Dispatcher:registerAction("kosync_pull_progress",{category="none",event="KOSyncPullProgress",title=_("Pull progress from other devices"),rolling=true,paging=true,separator=true,})
@ -29,7 +30,12 @@ local TextEditor = WidgetContainer:new{
min_file_size_warn=200000,-- warn/ask when opening files bigger than this
}
functionTextEditor:onDispatcherRegisterActions()
Dispatcher:registerAction("edit_last_edited_file",{category="none",event="OpenLastEditedFile",title=_("Texteditor: open last file"),device=true,separator=true,})