Difference between revisions of "Talk:Patch PDF Viewer Change Orientation"
Jump to navigation
Jump to search
m |
|||
(One intermediate revision by the same user not shown) | |||
Line 19: | Line 19: | ||
| align=right | 6.||[Re]start the pdfviewer and voila! | | align=right | 6.||[Re]start the pdfviewer and voila! | ||
|} | |} | ||
+ | |||
+ | ''Note - comment by dbtrade :I had to use: tar xzf com.palm.app.pdfviewer.tar.gz | ||
+ | |||
+ | ''In order for the tar file to actually extract the files'''' |
Latest revision as of 03:52, 6 October 2009
As of 1.2.1 the changes mentioned in the page are already included but disable by a nasty little "return" at the beginning of the orientationChanged method.
Here are the new procedure to enable pdfviewer's built-in change of orientation:
1. | Run cd /usr/palm/applications |
2. | Run tar tzf com.palm.app.pdfviewer.tar.gz |
3. | Edit com.palm.app.pdfviewer/app/controllers/document-assistant.js |
4. | look for the orientationChanged: (line 221 in 1.2.1) and remove the return; at the beginning of the method
orientationChanged: function(orientation) { return; // <--- remove that line if (this.currentOrientation === orientation) |
5. | Save the changes |
6. | [Re]start the pdfviewer and voila! |
Note - comment by dbtrade :I had to use: tar xzf com.palm.app.pdfviewer.tar.gz
In order for the tar file to actually extract the files''