![]() |
Re: [Announce] Advanced Clock Plugin
Version 0.4.1 fixes the color dialog issue.
I just uploaded it to extras-devel. |
Re: [Announce] Advanced Clock Plugin
how can i return to the original clock . is there any way except uninstalling the app
|
Re: [Announce] Advanced Clock Plugin
and could u add an option to change the font of digital clock?
|
Re: [Announce] Advanced Clock Plugin
Lemonadium, try what zvogt suggested in the post above yours. Editing /usr/lib/advanced-clock-pluging/clock.py, in line 47, to make it what he said above.
Code:
self.context.set_source_rgb(self.color_r/255.0, self.color_g/255.0, self.color_b/255.0) - Edit - Oh, wait, looks like Wonko already fixed it. Damn that was fast. Wonko, you're awesome. - Edit 2 - Also, as the number of clock styles becomes more and more numerous (possible, certainly), since the clock styles do not actually need to be marked as executable, and don't need to have any user permissions, perhaps it may be useful to symlink the /usr/lib/advanced-clock-plugin/ folder, or at least the /usr/lib/advanced-clock-plugin/clocks/ folder, into somewhere in /opt, or even somewhere in the MyDocs partition, just so that they don't take up rootfs space. Of course, right now the Clock Style scripts are tiny and there's only a handful, so it's not a big deal, but it may be useful in the future. |
Re: [Announce] Advanced Clock Plugin
Wonko, your app is awesome.. this app was a surprise to me
Few wishes: 1>moving the advanced clock settings to the Settings folder would be nice. 2>Option to set beep for every hour (if that is possible) Seasons greeting to you and all maemo lovers |
Re: [Announce] Advanced Clock Plugin
Leojab: He's getting the first one implemented, he already said that. The second one... might actually be possible, not sure if he wants to include it in this one. It should be doable in the clock style though.
Something like should work, if I understand it correctly: Code:
if str(self.time.second) == 00 : |
Re: [Announce] Advanced Clock Plugin
This is coming along in leaps and bounds! A few suggestions/requests..
Could the date and time read across horizontally rather than one above the other? Could the font match the one used with Theme Customizer? Would it be possible to have the date format match the one suggested in "Language & region" in Settings menu? |
Re: [Announce] Advanced Clock Plugin
Quote:
In the meantime, I can quickly make a clock style for you that does what you're asking for. What size font would you like (don't have to give a number, just pick whatever already existing style has the font size you want, and say bigger/smaller if you'd prefer. Quote:
If you can make the clock (or specific clock style) read the system font and use it, then it will probably change with theme customizer changes (though it may require a hildon-status-menu restart whenever you make a change in theme customizer). Quote:
Worse case scenario, you edit the python code of the clock for which you want to change the date. They're always Code:
str(self.time.day).zfill(X) + "Y" + str(self.time.month).zfill(X) + "Y" + str(self.time.year).zfill(X) Code:
str(self.time.month).zfill(2) + "/" + str(self.time.day).zfill(2) + "/" + str(self.time.year).zfill(4) |
Re: [Announce] Advanced Clock Plugin
So I'm not a python guy, but just a couple minutes on google turned up the strftime method. it seems like something like:
text = self.time.strftime("%X") would be simpler than the brute force string manipulation I'm seeing in the current clocks/ code. At the bottom of this page: http://docs.python.org/library/datetime.html is a table showing all of the valid format options. I actually think it would be cool if the interface would allow the user to input a custom format string using the arguments from that table, and would just render that input as a custom clock. |
Re: [Announce] Advanced Clock Plugin
Latest update has a font chooser and an alarm indicator checkbox. Great work!
As zvogt says, (if I understand correctly!) it would be great to be able to specify your own format from the settings too. Great little plugin this. |
All times are GMT. The time now is 16:24. |
vBulletin® Version 3.8.8