New InfoMessage Concept
Part I (still no unireader, crereader, filesearcher & fileinfo) Conflicts: commands.lua dialog.lua filechooser.lua filehistory.lua font.lua inputbox.lua reader.lua resources/info-i.png screen.lua selectmenu.lua
This commit is contained in:
1 parent
4310b68b3b
commit
0eaf2671fd
10 files changed
+63
-6
No files matched your search
+20
@@ -139,6 +139,26 @@ end
|
||||
|
||||
|
||||
|
||||
-- @TODO dirty workaround, find a way to force native system poll
|
||||
-- screen orientation and upside down mode 09.03 2012
|
||||
Screen:setRotationMode(Screen.native_rotation_mode)
|
||||
if file then
|
||||
running = openFile(file)
|
||||
else
|
||||
running = false
|
||||
end
|
||||
showReader(ARGV[optind], optarg["p"])
|
||||
end
|
||||
UIManager:run()
|
||||
elseif last_file and lfs.attributes(last_file, "mode") == "file" then
|
||||
showReader(last_file, optarg["p"])
|
||||
UIManager:run()
|
||||
else
|
||||
return showusage()
|
||||
end
|
||||
|
||||
|
||||
|
||||
-- @TODO dirty workaround, find a way to force native system poll
|
||||
-- screen orientation and upside down mode 09.03 2012
|
||||
Screen:setRotationMode(Screen.native_rotation_mode)
|
||||
|
||||
Reference in new issue
Block a user