Gtk background pixmap style for button widget

2010-08-08 Thread Tim Niemueller

Hi.

I have a question specific to Gtk(mm) programming for Maemo 5. In a 
dialog of an application I would like to mark one of the buttons green, 
like the call button in the call UI. I have found the appropriate images 
in /etc/hildon/theme/images (e.g. AcceptFingerButtonNormal.png).


I'm trying to set those images with Gtk::Widget::modify_bg_pixmap() to 
change the draw style. But this does not have any effect. Running the 
program with strace shows that the file is indeed successfully opened.


Can someone enlighten me how to achieve the desired effect? Maybe 
someone can even provide a few lines of source code which are known 
working? The rtcom-call-ui is not available as source, or is it?


Thanks a lot for any help in advance,
Tim

--
AllemaniACs RoboCup TeamKBSG - Knowledge-Based Systems Group

http://robocup.rwth-aachen.de RWTH Aachen University
http://www.kbsg.rwth-aachen.de   Ahornstrasse 55
http://www.fawkesrobotics.org D-52056 Aachen
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


maemo.org Extras Bug Jar 2010.32

2010-08-08 Thread Stephen Gadsby
A Quick Look at Extras in Bugzilla (https://bugs.maemo.org/).
2010-08-02 through 2010-08-08

As of 2010-08-09 Extras contains:
* total items: 1906 (+29)
* total open items: 723 (+14)
* open bugs: 439 (+9)
* critical/blocker: 23
* "easyfix": 3
* "moreinfo": 4 (-1)
* "crash": 1 (+1)
* "patch": 4
* reopened: 8 (+1)
* unconfirmed: 236 (+2)
* open enhancements: 284 (+5)
* "easyfix": 1
* "moreinfo": 2
* "patch": 3
* reopened: 1
* unconfirmed: 108 (+5)

==--- New Items ---==

20 bugs were opened -
( 
https://bugs.maemo.org/buglist.cgi?bug_id=11049,11050,11051,11052,11053,11060,11065,11066,11067,11070,11072,11073,11075,11076,11078,11081,11084,11085,11090,11096
):
* [11049] [Conboy] Segmentation fault while starting conboy
* [11050] [mSoma] mSoma crashes upon open
* [11051] [mSoma] Installation File Corrupted
* [11052] [fMMS] neznam
* [11053] [Evopedia] Trying to browse maps offline causes endless error messages
* [11060] [Conboy] Does not sync all notes from Ubuntu One
* [11065] [MaeGirls] Dates not visible using light themes
* [11066] [mplayer] mplayer is built without AAC+ SBR support
* [11067] [gPodder] Downloads Page Not Updating
* [11070] [Conboy] Segmentation fault when trying sync with empty note body.
* [11072] [bluetooth-dun] mac os sync & tethering
* [11073] [fMMS] Wrong charset in cyrillic
* [11075] [Frozen Bubble 2] No way to pause single-player game or quit
the application
* [11076] [Frozen Bubble 2] No way to save/load single-player games
* [11078] [Showtime] Russian programs are unreadable
* [11081] [seriesfinale] Unable to search
* [11084] [MediaBox] DBusException: The name de.pycage.mediabox was
not provided by any .service files
* [11085] [MediaBox] MediaBox crashes when given files as command-line arguments
* [11090] [fMMS] fmms v1.1.9 install problems
* [11096] [gPodder] Interrupted downloads in gPodder cannot be cancelled

Of these, 3 were critical/blockers -
( https://bugs.maemo.org/buglist.cgi?bug_id=11049,11050,11051 ):
* [11049] [Conboy] Segmentation fault while starting conboy
* [11050] [mSoma] mSoma crashes upon open
* [11051] [mSoma] Installation File Corrupted

8 enhancements were opened -
( 
https://bugs.maemo.org/buglist.cgi?bug_id=11061,11062,11063,11064,11071,11079,11082,11094
):
* [11061] [Hermes] Suggestion - Customisable field mappings
* [11062] [Hermes] Suggestion - Excluding fields
* [11063] [Hermes] Suggestion - Service/field priority/preference
* [11064] [Hermes] Suggestion - Update confimations/exclusions
* [11071] [fMMS] Zoom key does not work in fmms 1.2.3
* [11079] [Catorise] "Invisible" Category for Catorise. Program Icons
assigned to this category would be hidden. Would help minimize
clutter.
* [11082] [kmplayer] Title disappears when pressing 'new'
* [11094] [Hermes] Support maemo.org as a provider


==--- Resolved Bugs ---==

4 bugs were resolved "fixed" -
( https://bugs.maemo.org/buglist.cgi?bug_id=10076,10917,10967,11029 ):
* [10076] [OmWeather] updating omweather without desktop applet
shouldn't suggest a reboot
* [10917] [Conboy] cannot sync with https://one.ubuntu.com/notes
* [10967] [gPodder] Inconsistent language in Unsubscribe function
* [11029] [Hermes] Do not leak private data over the wireless by using
an unencrypted channel

7 bugs were resolved "invalid" -
( 
https://bugs.maemo.org/buglist.cgi?bug_id=10780,10983,11042,11050,11051,11052,11075
):
* [10780] [fMMS] forward to email does not work, image is missing
* [10983] [fMMS] i can receive but not sent pik msg
* [11042] [fMMS] MMS
* [11050] [mSoma] mSoma crashes upon open
* [11051] [mSoma] Installation File Corrupted
* [11052] [fMMS] neznam
* [11075] [Frozen Bubble 2] No way to pause single-player game or quit
the application (nc)
  ---
  (nc) indicates the bug no longer has listed status.

0 bugs were resolved "wontfix".

2 bugs were resolved "duplicate" -
( https://bugs.maemo.org/buglist.cgi?bug_id=10570,10990 ):
* [10570] [Hermes] Hermes apparently doesn't use HTTPS for retrieving
information
* [10990] [gPodder] Podcasts won't play in Panucci unless Panucci is
NOT already running

1 bug was resolved "worksforme" -
( https://bugs.maemo.org/buglist.cgi?bug_id=10988 ):
* [10988] [ogg-support] Media player displays empty or incorrect track
duration times on Ogg Vorbis files (nc)
  ---
  (nc) indicates the bug no longer has listed status.

0 bugs were resolved "moved".


==--- Resolved Enhancements ---==

2 enhancements were resolved "fixed" -
( https://bugs.maemo.org/buglist.cgi?bug_id=5244,9305 ):
* [5244] [PyMaemo] Please package pygame 1.9.1 (current is 1.8.1)
* [9305] [fMMS] while composing mms, pressing Back arrow destroys mms
without warning

1 enhancement was resolved "invalid" -
( https://bugs.maemo.org/buglist.cgi?bug_id=11021 ):
* [11021] [Hermes] Field customisation suggestions

0 e

maemo.org Website Bug Jar 2010.32

2010-08-08 Thread Stephen Gadsby
A Quick Look at maemo.org Website in Bugzilla (https://bugs.maemo.org/).
2010-08-02 through 2010-08-08

As of 2010-08-09 maemo.org Website contains:
* total items: 1531
* total open items: 231
* open bugs: 167
* critical/blocker: 1
* "easyfix": 2
* "moreinfo": 1
* "crash": 0
* "patch": 0
* reopened: 2
* unconfirmed: 50
* open enhancements: 64
* "easyfix": 1
* "moreinfo": 0
* "patch": 1
* reopened: 3
* unconfirmed: 16

==--- New Items ---==

0 bugs were opened.

0 bugs were critical/blocker.

0 enhancements were opened.


==--- Resolved Bugs ---==

0 bugs were resolved "fixed".

0 bugs were resolved "invalid".

0 bugs were resolved "wontfix".

0 bugs were resolved "duplicate".

0 bugs were resolved "worksforme".

0 bugs were resolved "moved".


==--- Resolved Enhancements ---==

0 enhancements were resolved "fixed".

0 enhancements were resolved "invalid".

0 enhancements were resolved "wontfix".

0 enhancements were resolved "duplicate".

0 enhancements were resolved "worksforme".

0 enhancements were resolved "moved".


==--- Confirmed Items ---==

0 bugs were confirmed.

0 enhancements were confirmed.


==--- Reopened Items ---==

0 bugs were reopened.

0 enhancements were reopened.


==--- Unloved Items ---==

10 bugs were needing love -
( 
https://bugs.maemo.org/buglist.cgi?bug_id=4614,5123,5446,8872,8290,10643,10687,8806,8825,10597
):
* [4614] [General] Logged in name not aligned, may benefit from "Welcome" prefix
* [5123] [Downloads] Downloads main page can display duplicates
* [5446] [General] Site search is missing Brainstorm filter
* [8872] [General] maemo-developers archive for Feb 2010 is gzipped twice
* [8290] [Brainstorm] Add brainstorm.maemo.org redirect
* [10643] [News] Consider removing Internet Tablet Talk from
http://maemo.org/news
* [10687] [Brainstorm] RESOLVED / MOVED Bug Reports are stucking in
the Brainstorm system
* [8806] [Packages] Diablo packages interface reports dependencies on
packages only in device rootfs as missing
* [8825] [Downloads] Icons as Screenshots displayed too large (e.g.
for widget icon as screenshots)
* [10597] [Downloads] Description for unstable version appears on the
stable projects' page.

6 enhancements were needing love -
( https://bugs.maemo.org/buglist.cgi?bug_id=6952,6723,7022,5131,10942,9729 ):
* [6952] [Brainstorm] Add possibility to save bugzilla styled searches
* [6723] [Autobuilder] Would be great if it would be possible to see
build log of in-progress build
* [7022] [Downloads] maemo.org on downloads category links when viewing list
* [5131] [Talk] Poll edit or update on t.m.o.
* [10942] [Bugzilla] Easy way to list packages on bugzilla.
* [9729] [Downloads] Show full package page when only one search result


==--- Top Tens ---==

Ten biggest open bugs by number of votes -
( 
https://bugs.maemo.org/buglist.cgi?bug_id=6187,6914,5035,5963,6873,8702,9825,9090,2463,3924
):
1. (12%) [6187] [Downloads] XB-Maemo-Upgrade-Description is displayed
way too soon
2. (10%) [6914] [Packages] Allow commenter to follow comments on a
package under testing
3. (6%) [5035] [Downloads] Please display XB-Maemo-Upgrade-Description
in maemo.org downloads
4. (6%) [5963] [Downloads] Applications without screenshots shouldn't
appear on front page of downloads
5. (6%) [6873] [Bugzilla] No privacy for e-mail in bugzilla
6. (5%) [8702] [Downloads] GPG error when updating Extras from
repository.maemo.org
7. (5%) [9825] [Downloads] Cannot upload screenshot ("Edit" is grayed)
8. (4%) [9090] [Bugzilla] Unclear that FIXED means "Fixed internally"
and not "released for public"
9. (2%) [2463] [Bugzilla] Force guided to people w/o canconfirm
10. (2%) [3924] [MXR] indexed data too old (no latest diablo, no
Fremantle alpha)
  ---
  Please visit https://bugs.maemo.org/ to vote. Registration is easy and free.

Ten biggest open enhancements by number of votes -
( 
https://bugs.maemo.org/buglist.cgi?bug_id=630,6565,1309,1660,3432,4244,4441,4854,6721,7179
):
1. (15%) [630] [Bugzilla] Increased Bugzilla transparency - get the
developers involved!
2. (8%) [6565] [General] maemo-announce should be used or shut down
3. (7%) [1309] [Bugzilla] garage accounts and bugzilla accounts should be merged
4. (6%) [1660] [General] Explicit feedback channels
5. (6%) [3432] [Downloads] Comments on downloads.maemo.org should
automatically contain version number
6. (6%) [4244] [Repositories] Offer one RSS-feed with new/updated
packages for each repository
7. (6%) [4441] [Downloads] Downloads section lacks sorting categories
8. (6%) [4854] [Packages] List packages by maintainers
9. (4%) [6721] [Brainstorm] Please provide a possibility to search in
the brainstorm section only
10. (4%) [7179] [Packages] Provide RSS feed to extras-testing page
  ---
  Please visit https://bugs.maemo.org/ to vote. Regist

Maemo Official Applications Bug Jar 2010.32

2010-08-08 Thread Stephen Gadsby
A Quick Look at Maemo Official Applications in Bugzilla
(https://bugs.maemo.org/).
2010-08-02 through 2010-08-08

As of 2010-08-09 Maemo Official Applications contains:
* total items: 3680 (+11)
* total open items: 951 (-3)
* open bugs: 567 (-4)
* critical/blocker: 9 (-1)
* "easyfix": 0
* "moreinfo": 106 (+1)
* "crash": 9 (+1)
* "patch": 8
* reopened: 27 (-1)
* unconfirmed: 176 (-2)
* open enhancements: 384 (+1)
* "easyfix": 2
* "moreinfo": 9 (+1)
* "patch": 17
* reopened: 15
* unconfirmed: 73 (+1)

==--- New Items ---==

12 bugs were opened -
( 
https://bugs.maemo.org/buglist.cgi?bug_id=11046,11055,11057,11058,11059,11068,11069,11080,11083,11087,11089,11092
):
* [11046] [Email] No yellow "Copied" message when copying text
* [11055] [Browser] facebook.com displayed incorrectly
* [11057] [Chat & Call & SMS] Missed call notification is still shown
after unlocking phone using unlock hard key and placing a call to the
missed call contact.
* [11058] [Browser] No yellow "Copied" message when copying text
* [11059] [Browser] Bookmarks should be in some kind of order and/or
sortable in initial dialog when browser launches from desktop
* [11068] [Media player] MP4 video will not play from UPNP server
* [11069] [Chat & Call & SMS] New SMS doesn't have a facility to
choose Contacts at "To" field
* [11080] [Utilities] The Notes application on N900 doesn't save list
items correctly
* [11083] [Contacts] Sending Business card from N900 / saving Business
card by N97
* [11087] [Media player] Media player crashed when recorded video is
played multiple times.
* [11089] [Map] N900 Ovi Map application won't start if there is no
cell phone signal
* [11092] [Calendar] Day numbers in month view too small by default

0 bugs were critical/blocker.

1 enhancement was opened -
( https://bugs.maemo.org/buglist.cgi?bug_id=11088 ):
* [11088] [Contacts] Can't store date fields other than Birthday for a contact


==--- Resolved Bugs ---==

8 bugs were resolved "fixed" -
( 
https://bugs.maemo.org/buglist.cgi?bug_id=6682,9867,10485,10599,10793,10799,11005,11032
):
* [6682] [Browser] Typing in web-based text input fields isn't as
seamless as when using a desktop/laptop computer
* [9867] [RSS feed reader] RSS Reader fails to add feeds from feedburner.com
* [10485] [Chat & Call & SMS] Skype rejects incoming calls
automatically after about 4 rings
* [10599] [Calendar] Alarm for every Task resets after phone reload
* [10793] [Sharing] Newlines in description are replaced with spaces
(regression in PR1.2)
* [10799] [Email] Modest inserts new contacts without email address
into contacts
* [11005] [Media player] [Power Kernel] Can't playback any video after
fail to playback streaming 3GP Video (nc)
* [11032] [Browser] Device doesn't respond when trying because of
showModalDialog()s from eenadu.net website to foreground
  ---
  (nc) indicates the bug no longer has listed status.

4 bugs were resolved "invalid" -
( https://bugs.maemo.org/buglist.cgi?bug_id=10862,11005,11044,11069 ):
* [10862] [Chat & Call & SMS] MSN Pecan Everyone Offline On Login
* [11005] [Media player] [Power Kernel] Can't playback any video after
fail to playback streaming 3GP Video
* [11044] [Chat & Call & SMS] Read SMS not visible under conversations option.
* [11069] [Chat & Call & SMS] New SMS doesn't have a facility to
choose Contacts at "To" field

2 bugs were resolved "wontfix" -
( https://bugs.maemo.org/buglist.cgi?bug_id=11058,11059 ):
* [11058] [Browser] No yellow "Copied" message when copying text
* [11059] [Browser] Bookmarks should be in some kind of order and/or
sortable in initial dialog when browser launches from desktop

1 bug was resolved "duplicate" -
( https://bugs.maemo.org/buglist.cgi?bug_id=11080 ):
* [11080] [Utilities] The Notes application on N900 doesn't save list
items correctly

0 bugs were resolved "worksforme".

0 bugs were resolved "moved".


==--- Resolved Enhancements ---==

0 enhancements were resolved "fixed".

0 enhancements were resolved "invalid".

0 enhancements were resolved "wontfix".

0 enhancements were resolved "duplicate".

0 enhancements were resolved "worksforme".

0 enhancements were resolved "moved".


==--- Confirmed Items ---==

2 bugs were confirmed -
( https://bugs.maemo.org/buglist.cgi?bug_id=8162,11046 ):
* [8162] [Email] multipart/related ignored within multipart/alternative
* [11046] [Email] No yellow "Copied" message when copying text

0 enhancements were confirmed.


==--- Reopened Items ---==

0 bugs were reopened.

0 enhancements were reopened.


==--- Unloved Items ---==

10 bugs were needing love -
( 
https://bugs.maemo.org/buglist.cgi?bug_id=9230,9591,9705,10908,10397,10836,10903,11008,11037,11057
):
* [9230] [Settings and Maintenance] Restoring backup directly on
PR1.1.1 failed to restore Text & IM conv

Maemo Official Platform Bug Jar 2010.32

2010-08-08 Thread Stephen Gadsby
A Quick Look at Maemo Official Platform in Bugzilla (https://bugs.maemo.org/).
2010-08-02 through 2010-08-08

As of 2010-08-09 Maemo Official Platform contains:
* total items: 3299 (+11)
* total open items: 719 (+4)
* open bugs: 514 (+3)
* critical/blocker: 23 (-1)
* "easyfix": 8
* "moreinfo": 118 (+3)
* "crash": 20 (-1)
* "patch": 22 (-1)
* reopened: 27 (-2)
* unconfirmed: 213 (+8)
* open enhancements: 205 (+1)
* "easyfix": 1
* "moreinfo": 6
* "patch": 4
* reopened: 10
* unconfirmed: 34

==--- New Items ---==

10 bugs were opened -
( 
https://bugs.maemo.org/buglist.cgi?bug_id=11047,11048,11054,11056,11074,11077,11086,11091,11093,11095
):
* [11047] [Connectivity] CSD call not working
* [11048] [Multimedia] Pulseaudio calls audio callback in corked state
* [11054] [System software] Very dim LED status indicator in areas
with little/no reception.
* [11056] [Desktop platform] SMS notification icon is missing when
power key is pressed after receiving SMS
* [11074] [Synchronization] calendar appointments from different time
zone made in outlook 2007 ignore the time zone and show wrong time  in
N900
* [11077] [Core] /etc/sudoers.d files are readable by all
* [11086] [Multimedia] Recorded video doesn't play after the phone is
used a week with out reboot.
* [11091] [Core] Bug in cpufreq module - exposed in /proc/timer_stats
* [11093] [Connectivity] No sound over Bluetooth car kit when calling
* [11095] [Telephony] Answer/reject buttons move when receiving a call

0 bugs were critical/blocker.

0 enhancements were opened.


==--- Resolved Bugs ---==

4 bugs were resolved "fixed" -
( https://bugs.maemo.org/buglist.cgi?bug_id=9433,10175,10813,10868 ):
* [9433] [Connectivity] icd2 shell script (zz_static_ip_if_down) broken
* [10175] [Connectivity] con_ic_connection_get_proxy_mode() returns
bogus data after the connection goes to CON_IC_STATUS_DISCONNECTED
* [10813] [Multimedia] gst-dsp codecs may corrupt heap memory
* [10868] [Multimedia] Media Player does not resume audio after doing
a call using BH-214 bluetooth headset

1 bug was resolved "invalid" -
( https://bugs.maemo.org/buglist.cgi?bug_id=4114 ):
* [4114] [Desktop platform] Update/improve Sapwood documentation

3 bugs were resolved "wontfix" -
( https://bugs.maemo.org/buglist.cgi?bug_id=4023,7256,10899 ):
* [4023] [Desktop platform] Sapwood doesn't align PixbufOpenRequest
properly (crash on 770)
* [7256] [Desktop platform] Maemo should use en_GB as default fallback
in locales
* [10899] [Core] Invalid partition allocation scheme in
/usr/sbin/fremantle-format-internal-memory-card.sh

0 bugs were resolved "duplicate".

0 bugs were resolved "worksforme".

0 bugs were resolved "moved".


==--- Resolved Enhancements ---==

0 enhancements were resolved "fixed".

0 enhancements were resolved "invalid".

0 enhancements were resolved "wontfix".

0 enhancements were resolved "duplicate".

0 enhancements were resolved "worksforme".

0 enhancements were resolved "moved".


==--- Confirmed Items ---==

1 bug was confirmed -
( https://bugs.maemo.org/buglist.cgi?bug_id=10916 ):
* [10916] [Development platform] MADDE's dpkg-buildpackage can't
handle paths with spaces well

1 enhancement was confirmed -
( https://bugs.maemo.org/buglist.cgi?bug_id=11045 ):
* [11045] [Packaging Policy] Desktop section getting overcrowded
(themes and wallpapers mixed with widgets)


==--- Reopened Items ---==

1 bug was reopened -
( https://bugs.maemo.org/buglist.cgi?bug_id=7256 ):
* [7256] [Desktop platform] Maemo should use en_GB as default fallback
in locales (nc)
  ---
  (nc) indicates the bug no longer has listed status.

0 enhancements were reopened.


==--- Unloved Items ---==

10 bugs were needing love -
( 
https://bugs.maemo.org/buglist.cgi?bug_id=10593,10582,10999,9731,9740,10020,10605,11077,11091,11093
):
* [10593] [Desktop platform] Unpredictable virtual keyboard repeat behaviour
* [10582] [Desktop platform] Fn-lock behaves very inconsistently
* [10999] [System software] MCE doesn't receive request for
powermenu_call via DBUS
* [9731] [Core] OpenGL draw order broken
* [9740] [System Analysis] miscalculations in powertop output when
long sample interval is used
* [10020] [Desktop platform] Switching off while applying theme
results in mixture of themes
* [10605] [Telephony] Unable to make multi party calls with more than 2 people
* [11077] [Core] /etc/sudoers.d files are readable by all
* [11091] [Core] Bug in cpufreq module - exposed in /proc/timer_stats
* [11093] [Connectivity] No sound over Bluetooth car kit when calling

6 enhancements were needing love -
( https://bugs.maemo.org/buglist.cgi?bug_id=7924,10974,9693,9710,10153,10457 ):
* [7924] [Packaging Policy] Packager should include filesys usage in
description automatically
* [10974] [Desktop platform] Behavior of "lo

Re: Changing radio mode

2010-08-08 Thread Linus
Wops, forgot to attach the actual code :)

2010/8/8 Linus 

> Hi,
>
> I have been trying to change radio mode (to only use 2G/3G or both) via
> DBus as a part of shepherd, my gsoc project. It works wonders when I use
> dbus-send (taken from wiki.maemo.org/Phone_Control):
>
> dbus-send --system --type=method_call 
> --dest=com.nokia.phone.net/com/nokia/phone/net 
> Phone.Net.set_selected_radio_access_technology byte:1
>
> But when I try to implement the same method call in my program i get the
> error:
>
> Error:
> "rpc.Error"
> "can't find method Phone.Net::set_selected_radio_access_technology"
>
> The code I use looks like this:
>
> #include "cellular.h"
> #include 
> #include 
> #include 
>
> Cellular::Cellular() : QObject() {
> QList radioModeArguments;
> radioModeArguments.append((unsigned char)1);
>
> QDBusMessage message = QDBusMessage::createMethodCall("
> com.nokia.phone.net", "/com/nokia/phone/net", "Phone.Net",
> "set_selected_radio_access_technology");
> message.setArguments(radioModeArguments);
>
> QDBusMessage result = QDBusConnection::systemBus().call(message,
> QDBus::Block);
> qDebug() << "Error:";
> qDebug() << result.errorName();
> qDebug() << result.errorMessage();
>
> QList resultArguments = result.arguments();
>
> for (int i = 0; i < resultArguments.size(); ++i) {
> qDebug() << resultArguments[i];
> }
> }
>
> I have attached all the relevant files (header, .pro, main).
>
> I'm completly lost to what the problem can be, do you have any ideas?
>
> Best regards
> Linus
>


mode.tar
Description: Unix tar archive
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Changing radio mode

2010-08-08 Thread Linus
Hi,

I have been trying to change radio mode (to only use 2G/3G or both) via DBus
as a part of shepherd, my gsoc project. It works wonders when I use
dbus-send (taken from wiki.maemo.org/Phone_Control):

dbus-send --system --type=method_call
--dest=com.nokia.phone.net/com/nokia/phone/net
Phone.Net.set_selected_radio_access_technology byte:1

But when I try to implement the same method call in my program i get the
error:

Error:
"rpc.Error"
"can't find method Phone.Net::set_selected_radio_access_technology"

The code I use looks like this:

#include "cellular.h"
#include 
#include 
#include 

Cellular::Cellular() : QObject() {
QList radioModeArguments;
radioModeArguments.append((unsigned char)1);

QDBusMessage message = QDBusMessage::createMethodCall("
com.nokia.phone.net", "/com/nokia/phone/net", "Phone.Net",
"set_selected_radio_access_technology");
message.setArguments(radioModeArguments);

QDBusMessage result = QDBusConnection::systemBus().call(message,
QDBus::Block);
qDebug() << "Error:";
qDebug() << result.errorName();
qDebug() << result.errorMessage();

QList resultArguments = result.arguments();

for (int i = 0; i < resultArguments.size(); ++i) {
qDebug() << resultArguments[i];
}
}

I have attached all the relevant files (header, .pro, main).

I'm completly lost to what the problem can be, do you have any ideas?

Best regards
Linus
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: n900 debugging techniques

2010-08-08 Thread Ian Stirling

Martin DeMello wrote:

So I installed kernel-power, which appears to have killed my gps (even
when I reverted to the stock kernel), and I'd like to try finding out
exactly what's wrong, rather than just reflashing. What are the
general techniques to debug this sort of thing? dmesg has nothing, and
I can't see anything promising in /var/log/* either.

http://repository.maemo.org/pool/maemo5.0/non-free/l/location-test-gui/
may be of use.

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


n900 debugging techniques

2010-08-08 Thread Martin DeMello
So I installed kernel-power, which appears to have killed my gps (even
when I reverted to the stock kernel), and I'd like to try finding out
exactly what's wrong, rather than just reflashing. What are the
general techniques to debug this sort of thing? dmesg has nothing, and
I can't see anything promising in /var/log/* either.

martin
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: upload into extras-devel broken?

2010-08-08 Thread Martin Grimme
Hi,

it looks like the upload to Diablo extras-devel is currently broken, too.
Maybe some uploader job crashed or is hanging?


Martin


2010/8/8, Sudheer K. :
> Roman Morawek  morawek.at> writes:
>>
>> Is there something wrong with my package?
>> Or is there a general problem with the autobuilder?
>
> My package was queued since yesterday. I think there is something wrong with
> the
> autobuilder. Or is manual intervention (approval of some sort) needed before
> a
> package is released to extras-devel repository?
>
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: upload into extras-devel broken?

2010-08-08 Thread Sudheer K .
Roman Morawek  morawek.at> writes:
> 
> Is there something wrong with my package?
> Or is there a general problem with the autobuilder?

My package was queued since yesterday. I think there is something wrong with the
autobuilder. Or is manual intervention (approval of some sort) needed before a
package is released to extras-devel repository?

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


upload into extras-devel broken?

2010-08-08 Thread Roman Morawek
Hello,

1.5 days ago I successfully built a new version of my application with
the autobuilder. However, it is still not uploaded into extras-devel. At
the last builds this took place within one hour, but now it does not.

Is there something wrong with my package?
Or is there a general problem with the autobuilder?

Below is my log of the build, which tells me that it has been queued for
loading into extras-devel:

[2010-08-07 03:30:01] Processing package babyphone 0.2-3. Uploader:
roman4, builder: builder1
[2010-08-07 03:30:03] Building babyphone 0.2-3 for target
'maemo-fremantle-armel-extras-devel'
[2010-08-07 03:31:33] OK
[2010-08-07 03:32:11] Signing build results
[2010-08-07 03:32:12] babyphone 0.2-3 has been queued for loading into
fremantle extras-devel repository
[2010-08-07 03:32:12] You can find more info about this build here:
https://garage.maemo.org/builder/fremantle/babyphone_0.2-3/

Package info:
http://maemo.org/packages/view/babyphone/

Thanks for your feedback,
Roman

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers