maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] OS2008 Statusbar Clock (https://talk.maemo.org/showthread.php?t=16574)

wazd 2008-02-16 11:45

Re: [Announce] OS2008 Statusbar Clock
 
1 Attachment(s)
Quote:

Originally Posted by yabbas (Post 143148)
A few minutes later I have this:
http://img120.imageshack.us/img120/5...nshot00um8.png

Have attached the code amendments and compiled progs, just disable the plugins and copy the *.so files to /usr/lib/hildon-desktop/

Hope you don't mind fiferboy :( despite arguments against, I prefer the stacked look. Of course this way you can also replace AM/PM with the current day ;) MO/TU/WE/TH/FR/SA/SU


Changes:
Separate font customization for hours and minutes so you can have a different colour for the hour if you wish.
"Longhorn" menu selection item.
"Longhorn" mode - [basically stacks the minutes on top of AM/PM, and disables the hour-colon.]

Well. You've done some visual mistake :) I think in time actually it's more important to see minutes but not AM or PM :) And you have AM sign larger than minutes. How about making it in this way? I've divided parts of the applet ith red stripe :)

yabbas 2008-02-16 12:39

Re: [Announce] OS2008 Statusbar Clock
 
I agree with your observation. :)

Like I said - it was a quick hack...all I did was move the minute variable into the <small> tag and add a \n before the 'PM' string - without mucking about with glib markup tags that's the simplest way of acheiving the effect I wanted. The rest of it was cut'n'paste *g*

You could always install another font that emphasizes the numbers over the letters or tweak the tags till it fits together better! Edit: I'm not going to update this as it's fifer's project and he may well have different plans for it; up to him if he decides to keep the Longhorn look and feel that I like.

I'm sure fiferboy will start working on the date code and get it all looking pristine :)


Interestingly - it still looks great with a serif font :D reminds me of the clocks you get on the walls of your local bank.

As for your idea on having the days below the afternoon indicator...while nice in theory I don't think it will work as the width available to plugins is miniscule.

Guess there's no harm in trying to get it slotting together though!

fiferboy 2008-02-16 15:58

Re: [Announce] OS2008 Statusbar Clock
 
To respond to a couple of recent point:

For the date being light grey, that is the default for insensitive menu items. I will change to an active item that doesn't do anything.

For the 'longhorn' mode, I will add that in as an option. Does anyone have a more descriptive name? Yabbas, thanks for the description of how you acheived your look. I am currently cleaning up the code a lot to reduce duplication.

Underscore 2008-02-17 02:50

Re: [Announce] OS2008 Statusbar Clock
 
Oh wow, we now have collaboration :D. Thank you Fiferboy and Yabbas.
As for a more descriptive name, how about "stacked" mode instead?

Benson 2008-02-18 16:19

Re: [Announce] OS2008 Statusbar Clock
 
Call it ****** mode :p
But choice is a good thing, really, even choices I'd not use. Stacked mode looks good.

One thing, now that we can make Nav applets (that's the left-side panel) to replace any of the three menus there, perhaps some of the still-wider ideas would be more naturally rearranged to fit there? Like wazd's mockup.

gerbick 2008-02-18 17:42

Re: [Announce] OS2008 Statusbar Clock
 
Call it "Stacked Mode".... I do remember that layout more from the Longhorn Beta days though.

Laughing Man 2008-02-18 21:49

Re: [Announce] OS2008 Statusbar Clock
 
Do you still have to edit it by command line (or text editor for the configuration file) or is there an options menu I'm missing? Just updated the applet and the pop up menu doesn't work.

fiferboy 2008-02-18 22:30

Re: [Announce] OS2008 Statusbar Clock
 
Quote:

Originally Posted by Laughing Man (Post 144339)
Do you still have to edit it by command line (or text editor for the configuration file) or is there an options menu I'm missing? Just updated the applet and the pop up menu doesn't work.

I keep forgetting to mention that when you update the applet you either have to reboot your NIT, or unload it from the status bar and reload it. Try one of these and you should have the menu.

setasai 2008-02-19 10:12

Re: [Announce] OS2008 Statusbar Clock
 
im not 100% sure this is the culprit but i installed this and 2 games since i started noticing a possible memory leak.

it occurred over 3-4 days, the hildon-desktop grew to over 40mb.

i have since disabled the clock and if i come across it again ill let you all know. in the meantime keep an eye out for your memory usage just in case.

otherwise, fantastic work

Sai

Tabster 2008-02-19 15:32

Re: [Announce] OS2008 Statusbar Clock
 
I have also noticed that I now have an issue with the memory usage increasing. I didn't connect it with this app - but this could be the case! Hopefully fiferboy can figure it out!

Quote:

Originally Posted by setasai (Post 144548)
im not 100% sure this is the culprit but i installed this and 2 games since i started noticing a possible memory leak.

it occurred over 3-4 days, the hildon-desktop grew to over 40mb.

i have since disabled the clock and if i come across it again ill let you all know. in the meantime keep an eye out for your memory usage just in case.

otherwise, fantastic work

Sai



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

vBulletin® Version 3.8.8