|
2012-07-10
, 20:25
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#62
|
Ah ok, so we're missing the plugin... Do you happen to have the lines for that?
I could change them and test them here too
The Following User Says Thank You to For This Useful Post: | ||
|
2012-07-10
, 20:38
|
Posts: 1,539 |
Thanked: 1,604 times |
Joined on Oct 2011
@ With my N9
|
#63
|
search for auto, Was doing the changes in phone terminal LOL so I need to reinstall the Application to give a full diff
There are only 2 lines in the first file /* + */ that encapsulated the button
And likewise in the second file, but 2 places
|
2012-07-10
, 20:43
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#64
|
I got it working
in /usr/lib/drive-qml/models/MapSettingsModel.qml
There is a line:
/*
if (newvalue === "auto") {
setNightMode(isNight());
}
else*/ {
setNightMode(newvalue === "night");
Should be changed to:
if (newvalue === "auto") {
setNightMode(isNight());
}
else {
setNightMode(newvalue === "night");
It will start up in night mode, then choose automatic, it will set itself up and run as it should
The Following User Says Thank You to For This Useful Post: | ||
|
2012-07-10
, 20:44
|
|
Moderator |
Posts: 3,718 |
Thanked: 7,419 times |
Joined on Dec 2009
@ Bize Her Yer Trabzon
|
#65
|
|
2012-07-10
, 20:46
|
Posts: 1,539 |
Thanked: 1,604 times |
Joined on Oct 2011
@ With my N9
|
#66
|
|
2012-07-10
, 20:49
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#67
|
console.log("Sunset:" + sunset);
console.log("Sunrise:" + sunrise);
var t = today.getHours() + today.getMinutes()/60;
console.log("NOW: "+t);
if (t >= sunrise && t < sunset) {
return false;
}
return true;
}
function onDayNightSwitch() {
console.log("onDayNightSwitch");
if (dayNightMode === "auto") {
console.log("Change map mode to: "+!nightMode);
setNightMode(isNight());
}
}
Are you referring to the bold?
Edit: and why?
The Following User Says Thank You to For This Useful Post: | ||
|
2012-07-10
, 20:50
|
Posts: 1,539 |
Thanked: 1,604 times |
Joined on Oct 2011
@ With my N9
|
#68
|
The Following 2 Users Say Thank You to Arie For This Useful Post: | ||
|
2012-07-10
, 20:56
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#69
|
Oh, nvm, that's not an issue, already done
Edit: for those that don't want to do the changes nieldk and I did (includes traffic changes in Drive and Auto mode for day/night:
http://talk.maemo.org/showpost.php?p...2&postcount=18
Follow that
The Following 2 Users Say Thank You to For This Useful Post: | ||
|
2012-07-10
, 21:00
|
Posts: 1,539 |
Thanked: 1,604 times |
Joined on Oct 2011
@ With my N9
|
#70
|
I could change them and test them here too
Arie|www.everythingn9.com|Nokia N9 64GB x2|Nokia N950
@everythingn9
Temporary Inception Fix
Times Banned from TMO: 4