2006/6/27, Santtu Lakkala <<a href="mailto:inz@inz.fi">inz@inz.fi</a>>:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Luca Donaggio wrote:<br>> 2006/6/27, Luca Donaggio <<a href="mailto:donaggio@gmail.com">donaggio@gmail.com</a>>:<br>> and the application is usable for some seconds (< 1 min.) then it suddenly<br>> dies without any error (it doesn't segfaoult, though).
<br>> I remember something similar used to happen with IT2005 too, and it was<br>> related to DBUS not being able to properly register the service.<br>> This is what I do in main.c:<br>><br>> osso_context = osso_initialize(PACKAGE, VERSION, FALSE, NULL);
<br>><br>> Any clue?<br><br>The PACKAGE macro probably only contains "grsync" and thus is registered<br>as com.nokia.grsync. You should use:<br><br>osso_initialize("it.opbyte." PACKAGE...)<br><br>
or something alike. The dbus daemon does not like when it starts a<br>program that does not register the name it was started for.<br><br>--<br>Santtu<br></blockquote></div><br>Thanks a lot everybody for your help! After adding "
it.opbyte." to osso_initialize(), it started working!<br><br>Just another little question: with IT2005, to let the fullscreen/unfullscreen hardware button working, all you need to do was calling hildon_appview_set_fullscreen_key_allowed(); under IT2006, how can I do the same? I understand I can set a callback to gtk_window_fullscreen / unfullscreen but how can I bind it to the fullscreen button key press event? Or is there another (simpler) way?
<br><br><br>