Notices


Reply
Thread Tools
darethehair's Avatar
Posts: 273 | Thanked: 104 times | Joined on Mar 2007 @ Manitoba, Canada
#71
Originally Posted by tso View Post
seems to work ok here, it even gave me a more correct looking daily sun track after i ended up testing the gps way of setting my location.
Ah! But I discovered that the file protection bits on the 'mchronos.ini' file were not allowing 'user' to re-write the settings file (during 'Save') so I am trying to fix the package for that right now...not sure if it will work or not yet.
__________________
There is nothing more dangerous than a bored cat.
 
tso's Avatar
Posts: 4,783 | Thanked: 1,253 times | Joined on Aug 2007 @ norway
#72
heh, ouch

btw, why a menu?
 
darethehair's Avatar
Posts: 273 | Thanked: 104 times | Joined on Mar 2007 @ Manitoba, Canada
#73
OK folks, new version basis the requests that have come in:

2009/07/06 = version 0.40
- major enhancements!
- add applet 'settings' menu and submenus (lots of work!)
- add 'save' mode so that all settings (including GPS location) can be saved
- add city and city names (not very useful on small screen)
- add planet and star name option (only partially useful on 'full' window)
- add more grid options (one each for sky, earth, and now moon as well)
- move earth/moon pics and 'ini' file and README file to '/home/user/.mchronos' directory
- convert 'global' variables to 'self' variables (lots of work and error prone!)
- remove 'clock' option button (better suited for just a 'menu' option)
- fix bug in formatting of time values where first character was being cut off
- fix bug in 'astro' option for 'horizon' mode
- fix bug with moon position plot in 'earth' mode when greater than 180 degrees

What people had requested:

- tso = menu settings (right?)
- slick204 = GPS position saves and planet/star labels
- belanger = does 'sphere' mode work yet? I found no problems

See my previous comments for a slight hassle -- even though I try to package the 'mchronos.ini' file to have 'public' edit access (for the sake of the 'user' account), it hasn't worked yet. So, if you want to use the 'Save' function you need to change the file permission bits (as 'root') i.e.:

chmod 777 mchronos.ini

Can someone test that as well?

To my disappointment, I expected the original support files (PNGs, README, and ini file) present for the current version in '/usr/lib/hildon-desktop' would get removed during the new version (which moves them to '/home/user/.mchronos'), but didn't on my tablet. So, you might have some minor cleanup to do. Sorry! Still learning this stuff...

Now it is time for me to take a *break* from this program -- I have spent too much time and hair-loss on it!
__________________
There is nothing more dangerous than a bored cat.

Last edited by darethehair; 2009-07-07 at 13:56.
 
darethehair's Avatar
Posts: 273 | Thanked: 104 times | Joined on Mar 2007 @ Manitoba, Canada
#74
Originally Posted by tso View Post
btw, why a menu?
Hey, guy, you were the one that gently pushed me into trying to add that stuff, right? It gives me the user the ability to adjust more settings than I have room for with 'buttons'...
__________________
There is nothing more dangerous than a bored cat.
 
tso's Avatar
Posts: 4,783 | Thanked: 1,253 times | Joined on Aug 2007 @ norway
#75
Originally Posted by darethehair View Post
Hey, guy, you were the one that gently pushed me into trying to add that stuff, right? It gives me the user the ability to adjust more settings than I have room for with 'buttons'...
Indeed, tho i used hometools as an example, as its use of a settings window. Hitting menu -> applet settings -> hometools brings up a window with multiple tabs, where if one used a similar solution for mchronos could have input boxes for latitude and longditude for example.
 
darethehair's Avatar
Posts: 273 | Thanked: 104 times | Joined on Mar 2007 @ Manitoba, Canada
#76
Originally Posted by tso View Post
Indeed, tho i used hometools as an example, as its use of a settings window. Hitting menu -> applet settings -> hometools brings up a window with multiple tabs, where if one used a similar solution for mchronos could have input boxes for latitude and longditude for example.
Yep, as the README alludes to, I don't yet have the ability to do the necessary 'widgets' for that task i.e. the 'hometools' app uses 'glade', which (somehow) allows the creation of a normal (non-transparent) 'window', onto which fancier widgets can be used. My apps do not use glade, and my efforts to create such a window manually were not successful...
__________________
There is nothing more dangerous than a bored cat.
 
tso's Avatar
Posts: 4,783 | Thanked: 1,253 times | Joined on Aug 2007 @ norway
#77
ah, my bad. said readme is had to get at when one update thru app manager, as its not shown in any way that i know of...

oh, and here is glade btw:
http://glade.gnome.org/
 
darethehair's Avatar
Posts: 273 | Thanked: 104 times | Joined on Mar 2007 @ Manitoba, Canada
#78
Originally Posted by tso View Post
ah, my bad. said readme is had to get at when one update thru app manager, as its not shown in any way that i know of...
Yea, I don't know of any nice way to make a README file nicely visible/accessible by a user -- so all I do is put it somewhere where it can be read -- in this version I moved it to its own '.mchronos' directory...

Edit Reminder: an 'online' version of the respective README files is always available on my software page (http://darethehair.googlepages.com/software.html).

oh, and here is glade btw:
http://glade.gnome.org/
Thanks, but it is (currently) not so much that I *cannot* use glade if I really want to, but I wanted to learn how to do PyGTK development *without* a fancy assistant like that -- if you know what I mean. However, this, in itself, should not prevent me from being able to create a new 'window' in MChronos, so I am not sure what the trick is. I have found no examples to guide me -- after all, how many Maemo transparent-window HomeItem Python apps are out there for me to learn from?

In any case, I hope that you and the others enjoy the new version -- I think it is getting crazy to put so much *stuff* into a desktop applet! That is what MEphemeris is for!
__________________
There is nothing more dangerous than a bored cat.

Last edited by darethehair; 2009-07-07 at 15:49. Reason: Add pointer to README files
 
tso's Avatar
Posts: 4,783 | Thanked: 1,253 times | Joined on Aug 2007 @ norway
#79
ah, ok.

i guess you have already looked at pygtk
 
darethehair's Avatar
Posts: 273 | Thanked: 104 times | Joined on Mar 2007 @ Manitoba, Canada
#80
Originally Posted by tso View Post
i guess you have already looked at pygtk
Yea, well, all the apps I have written so far -- including MChronos -- use PyGTK, and the graphics ones also use PyCairo. Hence, it makes me quite nervous to read (in other threads) that Nokia is switching to using Qt instead. Unless it is very *easy* to convert PyGTK syntax into Qt syntax, I am not sure what I am going to do with all my code. Perhaps PyGTK libraries will remain available, and people will be willing to download them to run my apps (?).

The PyGTK method of creating a normal 'window' is just silently ignored in my efforts for MChronos...
__________________
There is nothing more dangerous than a bored cat.
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:18.