2006/6/27, Santtu Lakkala &lt;<a href="mailto:inz@inz.fi">inz@inz.fi</a>&gt;:<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>&gt; 2006/6/27, Luca Donaggio &lt;<a href="mailto:donaggio@gmail.com">donaggio@gmail.com</a>&gt;:<br>&gt; and the application is usable for some seconds (&lt; 1 min.) then it suddenly<br>&gt; dies without any error (it doesn't segfaoult, though).
<br>&gt; I remember something similar used to happen with IT2005 too, and it was<br>&gt; related to DBUS not being able to properly register the service.<br>&gt; This is what I do in main.c:<br>&gt;<br>&gt;&nbsp;&nbsp;osso_context = osso_initialize(PACKAGE, VERSION, FALSE, NULL);
<br>&gt;<br>&gt; Any clue?<br><br>The PACKAGE macro probably only contains &quot;grsync&quot; and thus is registered<br>as com.nokia.grsync. You should use:<br><br>osso_initialize(&quot;it.opbyte.&quot; 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 &quot;
it.opbyte.&quot; 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>