The Following User Says Thank You to noobmonkey For This Useful Post: | ||
![]() |
2010-06-07
, 19:11
|
Posts: 3,319 |
Thanked: 5,610 times |
Joined on Aug 2008
@ Finland
|
#612
|
Hold on!
let me set the depends correctly
Gonna change the build file to - python2.5-qt4 (>= 4.6)
That should help!
The Following 2 Users Say Thank You to attila77 For This Useful Post: | ||
![]() |
2010-06-07
, 19:32
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#613
|
![]() |
2010-06-08
, 00:01
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#614
|
import gettext #part of standard Python, I believe def FMTxFrequency(): freq = "%.1f" % float(GetProp(FMTxPropertiesInterfaceConnect(), 'frequency') / 1000.0) freq_mhz = gettext.dgettext("osso-fm-transmitter", "fmtx_va_frequency") if freq_mhz != "fmtx_va_frequency": freq_mhz %= freq return freq_mhz return freq
The Following User Says Thank You to qwerty12 For This Useful Post: | ||
![]() |
2010-06-08
, 07:54
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#615
|
Apologies for providing a half-assed FMTxFrequency function. I should've known better as I wrote a clone of the status bar applet...
Oh, it returns a str so no need for manual castsCode:import gettext #part of standard Python, I believe def FMTxFrequency(): freq = "%.1f" % float(GetProp(FMTxPropertiesInterfaceConnect(), 'frequency') / 1000.0) freq_mhz = gettext.dgettext("osso-fm-transmitter", "fmtx_va_frequency") if freq_mhz != "fmtx_va_frequency": freq_mhz %= freq return freq_mhz return freq
P.S. You can pass False (introspection=False) as the third argument of your get_object calls to stop it from introspecting the given interface and producing those error messages
![]() |
2010-06-08
, 09:07
|
Posts: 210 |
Thanked: 62 times |
Joined on Jan 2010
@ Helsinki, Finland
|
#616
|
![]() |
2010-06-08
, 09:42
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#617
|
![]() |
2010-06-08
, 12:01
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#618
|
![]() |
2010-06-09
, 20:21
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#619
|
![]() |
2010-06-10
, 11:12
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#620
|
![]() |
Tags |
check, faulty, front camera, gps, hardware, healthcheck, test |
|
Once again, thank you very much for testing
(I'm learning - so not all fixes are next day fixes! hehehe)
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -