maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   N900 clock replacement [continued] (https://talk.maemo.org/showthread.php?t=81582)

AapoRantalainen 2012-02-03 12:37

Re: N900 clock replacement [continued]
 
Raising existing clock when clicked on top-panel, or in application-menu. Works.

function:
https://gitorious.org/~aaporantalain...ain.cpp#line13

activated:
https://gitorious.org/~aaporantalain...ain.cpp#line57

ade 2012-02-03 23:23

Re: N900 clock replacement [continued]
 
Great to have some help from Nicolai and AapoRantalainen now.

We go back to one version: background in landscape, seconds added in clock, and non repeating alarm inactivated (after alarm execution).

Changes/fixes:

ade

1. Made the generated alarm cookies in line with the stock clock.
One change that may be noticable in certain situations:
Before, the "snooze" and "stop" button texts where put literally in the alarm queue, using the current language.
If the device language was changed, the texts on the buttons would remain the same.
Now the button texts are translated as the alarms goes off, like the stock clock.
[ developers: FYI, attr_data.sval must have the value "osso-clock" in the queue, else the translations will not work ]

2. Replaced double commas in polish by a single one.

3. Landscape background in combination with seconds in clock (thanks to Nicolai for the code)
The CPU usage drop now allows for this.

AapoRantalainen
1. Raising existing clock when clicked on top-panel, or in application-menu

2. added code for prevent system killing clock-application (thanks to Nicolai for the info)



Because we don't need the shellscript anymore, please remove /usr/bin/worldclock.exe by hand if you have installed the replacement clock before.

Still leaves the issue open from the snooze as (mentioned on the first page). Could not fix that right now. I will look at that further tomorrow, as I also will update git then.


Installation instructions as always on the first page.

Estel 2012-02-04 15:14

Re: N900 clock replacement [continued]
 
Thanks ade.

I've tried to test everything that I could, and I haven't found any bugs - only one minor cosmetic glitch:

http://lorienart.pl/cover/clock.png

It isn't supposed to look this way with default Maemo theme, yep?

Of course, it's really *minor* thing. IMO, it's ready for CSSU-T.

/Estel

ade 2012-02-04 15:28

Re: N900 clock replacement [continued]
 
Quote:

Originally Posted by Estel (Post 1160440)
Thanks ade.

I've tried to test everything that I could, and I haven't found any bugs - only one minor cosmetic glitch:

http://lorienart.pl/cover/clock.png

It isn't supposed to look this way with default Maemo theme, yep?

Of course, it's really *minor* thing. IMO, it's ready for CSSU-T.

/Estel

Call me stupid, but that is the glitch? Wrong icons you mean?

Still have to fix the snooze issue and if do not get bug report for a while, towards quality control :)

Edit:
If it is the icons your are referring to:
replacement clock uses:
/opt/usr/share/icons/hicolor/164x164/hildon
stock clock uses:
/opt/usr/share/icons/<theme>/164x164/hildon/

If I judge it on the fly....

Estel 2012-02-04 15:45

Re: N900 clock replacement [continued]
 
Wrong placement of the icons - Their should overlap with background positions, so background thing create "glow" effect. See comparison:

Original worldclock:
http://lorienart.pl/cover/clock2.png

Worldclock replacement:
http://lorienart.pl/cover/clock.png

Seriously, it's very minor, cosmetic glitch, so I *almost* feel ashamed reporting it :p

/Estel

// Edit

If it's going to end in CSSU, for sake of completion, maybe worldclock should come with replacement background image for default theme, where background position would be adjusted? Of course, if adjusting position of icons themselves in program-side is too hopeless/hard work.

All after all, ade, You may feel that Your work (with important help from Nicolai and Aapo) is almost complete, if people report such things ;)

ade 2012-02-04 15:52

Re: N900 clock replacement [continued]
 
Now I get it :D

If it not too much work I can see if I can adjust it.
Can you attach that wallpaper? I am afraid I do not have that (anymore).

Estel 2012-02-04 15:58

Re: N900 clock replacement [continued]
 
Sure, here it is:
http://lorienart.pl/cover/clock_background.png

/Estel

ade 2012-02-04 19:57

Re: N900 clock replacement [continued]
 
Estel,
The icons should now be at the exact same location as the original clock.
I did not have the icons, but my own icons do center over the blue objects in the background.

Edit: also removed the brackets around GMT under the worldclock button. Don't know why they have been there.

niqbal 2012-02-05 06:49

Re: N900 clock replacement [continued]
 
I have been following this thread from last week or so. Brilliant work by all involved in it. Stock clock interface is replaced

ed_boner 2012-02-05 09:03

Re: N900 clock replacement [continued]
 
now you ve cracked it..everithing looks propper and the rotation is superfast..well done..tks


All times are GMT. The time now is 15:19.

vBulletin® Version 3.8.8