vangrieg
9th April 2009, 03:05 PM
Here's the deal: new ROMs have this stupid Push Internet thingie I want to get rid of. The problem with it (beside not really working properly sometimes and being useless) is that it launches Opera on startup, which I find incredibly annoying. So I figured it would be nice to have a custom tab which would basically be the Manila v1 internet tab but with new softkeys (left one launching new Bookmarks, right one launching Opera's bookmark editor).
I've done some homework and identified the code in new Manila's 3fb3a68_manila which sets the left softkey:
HandleLeftSoftkey = function()
DummyFocusHolder:Focus()
_application.Store:SetIntValue(Lifetime_Applicatio n, "Internet.ImmediateLaunch", 1)
_application.Navigation:Navigate(URL("Manila://internet/bookmark.page"), true)
end
The old Manila's 0ee99cb5_manila opens bookmarks via
HandleLeftSoftkey = function()
LaunchBrowser(OperaLaunchFavoriteUIArg)
end
Which should, in my view, become the right softkey of the custom page. Maybe editing bookmarks is from the right softkey is not a good idea and something more useful could go there but I don't know what exactly.
I've found the files responsible for this stuff in the new and old Manilas (attached), so what's needed is somebody familiar with lua (or at least Manila Kitchen) to modify and recompile the internetportalnopush.page. This part, unfortunately, is way beyond my ability to dedicate time to learning new things. :eek:
I've done some homework and identified the code in new Manila's 3fb3a68_manila which sets the left softkey:
HandleLeftSoftkey = function()
DummyFocusHolder:Focus()
_application.Store:SetIntValue(Lifetime_Applicatio n, "Internet.ImmediateLaunch", 1)
_application.Navigation:Navigate(URL("Manila://internet/bookmark.page"), true)
end
The old Manila's 0ee99cb5_manila opens bookmarks via
HandleLeftSoftkey = function()
LaunchBrowser(OperaLaunchFavoriteUIArg)
end
Which should, in my view, become the right softkey of the custom page. Maybe editing bookmarks is from the right softkey is not a good idea and something more useful could go there but I don't know what exactly.
I've found the files responsible for this stuff in the new and old Manilas (attached), so what's needed is somebody familiar with lua (or at least Manila Kitchen) to modify and recompile the internetportalnopush.page. This part, unfortunately, is way beyond my ability to dedicate time to learning new things. :eek: