Commit 1c88584afb7aeab01dd08bd7ecf0ba32c86912a1

  • avatar
  • dBsooner's Stuff <dbsooner @del…ge.vision5.com>
  • Sun Mar 14 18:51:21 CET 2010
9 New, 2 updated patches.
  
1Name: Remove Engadget Nonsense Text
2Version: 1.4.0-1
3Author: Jason Robitaille
4Description: Removes the nonsense text that flashes during scene transitions (MIT license)
5
6--- .orig/media/cryptofs/apps/usr/palm/applications/com.aol.engadget/index.html
7+++ /media/cryptofs/apps/usr/palm/applications/com.aol.engadget/index.html
8@@ -10,10 +10,5 @@
9 <link href="stylesheets/engadget.css" media="screen" rel="stylesheet" type="text/css" />
10 </head>
11 <body>
12- <h2>This text verifies your application is running.</h2>
13- <p>
14- To create a fully functional Palm application create a scene and remove this text from index.html.
15- See the documentation on Palm Applications for more information on creating applications and scenes.
16- </p>
17 </body>
18 </html>
  
1diff --git a/usr/palm/applications/com.palm.app.pdfviewer/appinfo.json b/usr/palm/applications/com.palm.app.pdfviewer/appinfo.json
2index e6bf134..33b0252 100644
3--- a/usr/palm/applications/com.palm.app.pdfviewer/appinfo.json
4+++ b/usr/palm/applications/com.palm.app.pdfviewer/appinfo.json
5@@ -10,6 +10,6 @@
6 "Adobe",
7 "PDF Viewer"
8 ],
9- "removable": true
10+ "removable": false
11 }
12
  
1diff --git a/usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js b/usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js
2index 6fdbb39..05723a9 100644
3--- a/usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js
4+++ b/usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js
5@@ -2552,7 +2552,13 @@ updateClockEveryMinute: function() {
6 }
7 }
8 format = format.replace(/\s?a\s?/,"");
9- $('clock').innerHTML = Mojo.Format.formatDate(date, {time: format});
10+ var suffix = "";
11+ if(new Date().getHours() < 12) {
12+ suffix = "a";
13+ } else {
14+ suffix = "p";
15+ }
16+ $('clock').innerHTML = Mojo.Format.formatDate(date, {time: format}) + suffix;
17 $('today').innerHTML = Mojo.Format.formatDate(date,{date:'short'});
18 },
19