Reorganized everything into new structure
[webos-internals:adamrmcd-modifications.git] / clock / clock-unhide-black-analog-theme.patch
1 diff --git a/usr/palm/applications/com.palm.app.clock/themes/manualanalog/manualanalog-clock-functions.js b/usr/palm/applications/com.palm.app.clock/themes/manualanalog/manualanalog-clock-functions.js
2 index 7652bf7..dbb4c5c 100644
3 --- a/usr/palm/applications/com.palm.app.clock/themes/manualanalog/manualanalog-clock-functions.js
4 +++ b/usr/palm/applications/com.palm.app.clock/themes/manualanalog/manualanalog-clock-functions.js
5 @@ -91,8 +91,8 @@
6                         }
7                         // format date
8                 
9 -                       //this.controller.get('date').textContent = Mojo.Format.formatDate(now, {"date":"short"})
10 -                       //this.controller.get('day').textContent = Mojo.Format.getDateTimeHash().medium.day[now.getDay()];
11 +                       this.controller.get('date').textContent = Mojo.Format.formatDate(now, {"date":"short"})
12 +                       this.controller.get('day').textContent = Mojo.Format.getDateTimeHash().medium.day[now.getDay()];
13         }
14  
15         ManualanalogClockFunctions.prototype.alarm = function() {
16 diff --git a/usr/palm/applications/com.palm.app.clock/themes/manualanalog/manualanalog-clock.html b/usr/palm/applications/com.palm.app.clock/themes/manualanalog/manualanalog-clock.html
17 index 2b790e4..8cfb653 100644
18 --- a/usr/palm/applications/com.palm.app.clock/themes/manualanalog/manualanalog-clock.html
19 +++ b/usr/palm/applications/com.palm.app.clock/themes/manualanalog/manualanalog-clock.html
20 @@ -1,8 +1,8 @@
21  
22  <div class="clock-container">
23         <div id="hands">
24 -                  <!-- <div id="day" class="day"></div>
25 -                  <div id="date" class="date"></div> -->
26 +                  <div id="day" class="day"></div>
27 +                  <div id="date" class="date"></div>
28  
29                    <div id="hour"></div>
30                    <div id="minute"></div>
31 diff --git a/usr/palm/applications/com.palm.app.clock/themes/themes.json b/usr/palm/applications/com.palm.app.clock/themes/themes.json
32 index 1f29438..272c7c7 100644
33 --- a/usr/palm/applications/com.palm.app.clock/themes/themes.json
34 +++ b/usr/palm/applications/com.palm.app.clock/themes/themes.json
35 @@ -10,5 +10,11 @@
36                 "nicename":"Analog",
37                 "description":"",
38                 "source": "themes/analog/"
39 +       },
40 +       {
41 +               "name":"manualanalog",
42 +               "nicename":"Analog Black",
43 +               "description":"",
44 +               "source": "themes/manualanalog/"
45         }
46  ]
47 \ No newline at end of file