Difference between revisions of "Patch Enable LED Notifications"

From WebOS Internals
Jump to navigation Jump to search
(Updated for webOS 1.3.1)
Line 6: Line 6:
 
/usr/palm/applications/com.palm.app.screenlock/app/controllers/securityconfig-assistant.js
 
/usr/palm/applications/com.palm.app.screenlock/app/controllers/securityconfig-assistant.js
  
Uncomment lines 54,55,248-251.
+
Uncomment lines 54,55,248-251 (291-294 on 1.3.1).
  
 
Here is what the files should look like:
 
Here is what the files should look like:
Line 20: Line 20:
  
 
<source lang=text>
 
<source lang=text>
Lines 248-251:
+
Lines 248-251 (291-294 in webOS 1.3.1):
 
                 /*if (payload.LEDThrobberEnabled != undefined) {
 
                 /*if (payload.LEDThrobberEnabled != undefined) {
 
this.ledThrobberToggleModel.value = payload.LEDThrobberEnabled;
 
this.ledThrobberToggleModel.value = payload.LEDThrobberEnabled;
Line 36: Line 36:
 
/usr/palm/applications/com.palm.app.screenlock/app/views/securityconfig/securityconfig-scene.html:
 
/usr/palm/applications/com.palm.app.screenlock/app/views/securityconfig/securityconfig-scene.html:
  
Uncomment 92-97 and 101-103.
+
Uncomment 92-97 and 101-103 (97-102 and 106-108 in webOS 1.3.1).
  
 
<source lang=text>
 
<source lang=text>
Lines 92-97:
+
Lines 92-97 (97-102 in 1.3.1):
 
                         <!--<div class="palm-row last">
 
                         <!--<div class="palm-row last">
 
<div class="palm-row-wrapper">
 
<div class="palm-row-wrapper">
Line 58: Line 58:
  
 
<source lang=text>
 
<source lang=text>
Lines 101-103:
+
Lines 101-103 (106-108 in 1.3.1):
 
         <!--<div class="palm-info-text single" x-mojo-loc=''>
 
         <!--<div class="palm-info-text single" x-mojo-loc=''>
 
The gesture area blinks when new notifications arrive.
 
The gesture area blinks when new notifications arrive.

Revision as of 00:52, 15 November 2009


This patch needs a rooted Pre to manually make these changes though a command line.

Two files need to be modified.

/usr/palm/applications/com.palm.app.screenlock/app/controllers/securityconfig-assistant.js

Uncomment lines 54,55,248-251 (291-294 on 1.3.1).

Here is what the files should look like: <source lang=text> Lines 54/55: //this.controller.setupWidget('blinkAlerts', this.onOffToggleOpt, this.ledThrobberToggleModel); //Mojo.Event.listen($('blinkAlerts'),'mojo-property-change', this.toggleLEDThrobber.bindAsEventListener(this));

Should be changed to: this.controller.setupWidget('blinkAlerts', this.onOffToggleOpt, this.ledThrobberToggleModel); Mojo.Event.listen($('blinkAlerts'),'mojo-property-change', this.toggleLEDThrobber.bindAsEventListener(this)); </source>

<source lang=text> Lines 248-251 (291-294 in webOS 1.3.1):

               /*if (payload.LEDThrobberEnabled != undefined) {

this.ledThrobberToggleModel.value = payload.LEDThrobberEnabled; this.controller.modelChanged(this.ledThrobberToggleModel, this); }*/

Should be changed to:

               if (payload.LEDThrobberEnabled != undefined) {

this.ledThrobberToggleModel.value = payload.LEDThrobberEnabled; this.controller.modelChanged(this.ledThrobberToggleModel, this); }

</source>

/usr/palm/applications/com.palm.app.screenlock/app/views/securityconfig/securityconfig-scene.html:

Uncomment 92-97 and 101-103 (97-102 and 106-108 in webOS 1.3.1).

<source lang=text> Lines 92-97 (97-102 in 1.3.1):

Should be changed to:

Blink notifications

</source>

<source lang=text> Lines 101-103 (106-108 in 1.3.1):

Should be changed to:

The gesture area blinks when new notifications arrive.

</source>