Thread
:
[Announce] Advanced Clock Plugin
View Single Post
Mentalist Traceur
2011-02-01 , 19:45
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#
356
Wonko: If I were to figure out how to implement an any-clock-style-usable refresh-every-second option, and submitted it to you, would you actually include it in the Advanced Clock Plugin?
If so, would you prefer the way I can do easily in the current frame-work - stick it as a boolean in gconf - or would you rather I tried to figure out how to make it just a variable that's not saved anywhere? (GConf is the one I can simply do based on what I already see in the code - however, it would either have to be integrated into the settings applet, or one clock-style would leave it set to true while another that doesn't need it would end up refreshing once-a-second even when only showing minutes.)
Also, is there a way I can check a variable being set in the individual clock-style from advanced-clock-plugin.py? Creating a self.whatever = 1 in the init of the clockstyle and checking for it from within advanced-clock-plugin.py doesn't throw any horrible errors that I can see, but it doesn't actually work (in fact, if you switch off show seconds while doing this, then switch it back on, the clock stops refreshing every second).
(Back to fiddling I go. Damn it my clock-style will see the light of day...)
- Edit -
Also, I just noticed my Clock applet is gone from the status-menu. Was that supposed to happen? The last thing I did was update this and NMap. And I doubt NMap had to do with it.
- Edit 2 -
status-menu.conf is fine, I see you brought in your own clock-plugin.desktop (and saved a backup of the last one). I approve. I was already contemplating this myself for a while, never got around to suggesting it because of all the other stuff going on. Looking forward to what this will eventually develop into.
Last edited by Mentalist Traceur; 2011-02-01 at
20:24
.
Quote & Reply
|
Mentalist Traceur
View Public Profile
Send a private message to Mentalist Traceur
Find all posts by Mentalist Traceur