Reply
Thread Tools
Posts: 642 | Thanked: 486 times | Joined on Aug 2008
#11
Originally Posted by aShtk View Post
models/AppSettingsModel.qml: 3 lines, line 23/165/180

You uncomment true and you comment false ?
This is not clear.
Nope they are ALL set to false, he is setting to true, if yours are true then you must have changed it.
 
Posts: 31 | Thanked: 12 times | Joined on Jan 2012
#12
That's what I said, read again xD
 

The Following User Says Thank You to aShtk For This Useful Post:
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#13
Originally Posted by aShtk View Post
models/AppSettingsModel.qml: 3 lines, line 23/165/180

You uncomment true and you comment false ?
This is not clear.
Thanks you to pointing out the modifications explanations are not clear at all ...

A++
 
Posts: 642 | Thanked: 486 times | Joined on Aug 2008
#14
ALRIGHT brilliant!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!

This is definitely the BEST surprise I have had since owning the Nokia N9.

Thank you so much!

Last edited by rash.m2k; 2012-07-09 at 10:15.
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#15
modified the files (pr1.3) - a few differences from OP.
Seems traffic is working, but navigation stopped working (stuck after choosing destination)

EDIT: my mistake, works absolutely great on pr1.3

Last edited by nieldk; 2012-07-09 at 10:42.
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#16
on pr1.3 as root in terminal

apt-get update
apt-get install --reinstall nokia-drive-qml

will restore app, in case you f... up
 

The Following 3 Users Say Thank You to For This Useful Post:
Posts: 31 | Thanked: 12 times | Joined on Jan 2012
#17
If you have never coded anything in your life, it can be tricky to know how to uncomment lines.


A comment line begins by //
But you can comment several line of codes using /* then */ or something like that.


Example : models/AppSettingsModel.qml: 3 lines, line 23/165/180

Line 23 :

traffic: true

Line 166 :
trafficOn = get('traffic');

Line 180 :
trafficOn = get('allowConnections') && get('mapSensor') && get('traffic') && device.online;



Example 2 : views/settings/settingsPage.qml: line 72, un-comment the whole ButtomItem {}.


/** TODO: uncomment when management makes up their minds
ButtonItem {
id: traffic
itemId: "traffic"
title: qsTrId("qtn_drive_traffic_settings_item")
subtitle: trafficSettingsSubtitle();
iconUrl: "../../resources/traffic/list_item/traffic_on.png"
}
*/

HAS TO BECOME :

ButtonItem {
id: traffic
itemId: "traffic"
title: qsTrId("qtn_drive_traffic_settings_item")
subtitle: trafficSettingsSubtitle();
iconUrl: "../../resources/traffic/list_item/traffic_on.png"
}
 

The Following 6 Users Say Thank You to aShtk For This Useful Post:
Posts: 1,539 | Thanked: 1,604 times | Joined on Oct 2011 @ With my N9
#18
Retested again... Works on PR1.2

I'll upload this for anyone that's using PR1.2 and PR1.3

drop this in MyDocs
devel-su
rootme
cp -R drive-qml /usr/lib/

https://www.dropbox.com/s/27zgzbxyqqyktpf/drive-qml.zip

File edited to include automatic night/day setting
__________________
Arie|www.everythingn9.com|Nokia N9 64GB x2|Nokia N950

@everythingn9

Temporary Inception Fix


Times Banned from TMO: 4

Last edited by Arie; 2012-07-10 at 20:43.
 

The Following 14 Users Say Thank You to Arie For This Useful Post:
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#19
I continue thinking a unified diff patch file was the best to keep modifications safe with easy possibility to reverse ...

A++
 

The Following User Says Thank You to colin.stephane For This Useful Post:
Posts: 1,539 | Thanked: 1,604 times | Joined on Oct 2011 @ With my N9
#20
Originally Posted by colin.stephane View Post
I continue thinking a unified diff patch file was the best to keep modifications safe with easy possibility to reverse ...

A++
It couldn't be easier than this...

Use my file to modify it, and to revert back to stock in terminal:
apt-get --reinstall install nokia-drive-qml
__________________
Arie|www.everythingn9.com|Nokia N9 64GB x2|Nokia N950

@everythingn9

Temporary Inception Fix


Times Banned from TMO: 4
 

The Following User Says Thank You to Arie For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 16:39.