|
2009-12-06
, 16:44
|
|
Posts: 529 |
Thanked: 262 times |
Joined on Dec 2008
@ Eastleigh, Hampshire, UK
|
#22
|
|
2009-12-06
, 16:47
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#23
|
ok I can see a bug there, which I've just fixed. though I may roll up a few more things before trying to push through a new version.
as far as the refreshing when you switch views goes...I am not sure about doing it that way. sometimes I might want to just switch through the already loaded view, without necessarily incurring a refresh. particulaly if you wanted to refer to something that you had already loaded, but whilst you are not connected. then it would be annoying to have an error every time you switch views.
|
2009-12-06
, 16:56
|
|
Posts: 529 |
Thanked: 262 times |
Joined on Dec 2008
@ Eastleigh, Hampshire, UK
|
#24
|
can you check for a connection first?
ie: If connection then refresh, else show refresh button - or just refresh
|
2009-12-06
, 16:57
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#25
|
|
2009-12-07
, 09:42
|
|
Posts: 529 |
Thanked: 262 times |
Joined on Dec 2008
@ Eastleigh, Hampshire, UK
|
#26
|
The Following 2 Users Say Thank You to dwould For This Useful Post: | ||
|
2009-12-07
, 10:06
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#27
|
I have now created a project space for witter here:
https://garage.maemo.org/projects/witter/
at some point this week I'll try to figure it out enough to upload witter into proper SCM. but in any case this seems a place in which people can raise bugs/enhancements etc if they really want to.
I'm in no way suggesting that I will necessarily fix or add anything, but it will in theory be a more sensible place to manage such things.
|
2009-12-07
, 10:30
|
|
Posts: 1,391 |
Thanked: 4,272 times |
Joined on Sep 2007
@ Vienna, Austria
|
#28
|
interesting idea, no idea whether I can query from python whether there is an active data connection. I guess I'll look into it.
All network types supported by the device are found as directories in gconf at '/system/osso/connectivity/network_type/', if an application needs them anyway. There is no API in libconic for this, though.
The Following 2 Users Say Thank You to thp For This Useful Post: | ||
|
2009-12-07
, 10:37
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#29
|
python-conic (the binding for libconic) allows you to do this:
http://pymaemo.garage.maemo.org/conic.html
http://maemo.org/api_refs/5.0/5.0-final/libconic/
And to quote from bug 5399:
|
2009-12-07
, 11:12
|
|
Posts: 1,391 |
Thanked: 4,272 times |
Joined on Sep 2007
@ Vienna, Austria
|
#30
|
The Following 2 Users Say Thank You to thp For This Useful Post: | ||
Here's the end of it