Re: DBus service name

2009-11-09 Thread Aniello Del Sorbo
2009/11/9 David King :
> On 2009-11-09 09:08, Aniello Del Sorbo  wrote:
>>I got it now.
>>
>>I initialize osso with a call like:
>>
>>osso_initialize (PACKAGE, VERSION, 0, NULL);
>>
>>where PACKAGE is the Debian name "xournal". I think com.nokia is then
>>automatically added.
>
> Correct:
> http://maemo.org/api_refs/5.0/5.0-final/libosso/group__Init.html#g05d45d1e72c2cd74f665086225141431
>

Yup.
I strongly remember this issue already in Diablo.. and 'probably' it
was me that triggered that comments there.
Oh well.. if it was me double shame on me for not remembering this
straight away :)

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


Re: DBus service name

2009-11-09 Thread David King
On 2009-11-09 09:08, Aniello Del Sorbo  wrote:
>I got it now.
>
>I initialize osso with a call like:
>
>osso_initialize (PACKAGE, VERSION, 0, NULL);
>
>where PACKAGE is the Debian name "xournal". I think com.nokia is then
>automatically added.

Correct: 
http://maemo.org/api_refs/5.0/5.0-final/libosso/group__Init.html#g05d45d1e72c2cd74f665086225141431

-- 
David King | http://amigadave.blogspot.com/ | dav...@openismus.com
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: DBus service name

2009-11-09 Thread Aniello Del Sorbo
I got it now.

I initialize osso with a call like:

osso_initialize (PACKAGE, VERSION, 0, NULL);

where PACKAGE is the Debian name "xournal". I think com.nokia is then
automatically added.
I think I had this issue already and figured it out already in Diablo
but never bothered to change.

Thanks for triggering it back :)

Aniello

2009/11/9 Aniello Del Sorbo :
> 2009/11/9 Henrik Hedberg :
>> Aniello Del Sorbo wrote:
>>
>>> there's no two without a three... so.. third question of the day.
>>> I am using com.nokia.xournal as DBus service name. I wanted to change it.
>>> Thus I went to xournal.service and xournal.desktop files and changed
>>> it to something less nokian and more maemian like org.maemo.xournal.
>>>
>>> Guess what.. Xournal gets killed after a few minutes.
>>> Reverted back to com.nokia.xournal and it works again.
>>
>>   See:
>>
>> http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Application_Development/LibOSSO_library#Maemo_initialization
>>
>>   The name in OSSO initialization, .desktop file, and .service file must be
>> the same.
>>
>>   BR,
>>
>>   Henrik
>>
>
> Thanks Henrik,
>
> I know that, and they were the same... but still didn't work.
> It works now that I reverted back to com.nokia.xournal...
>
> Weird
>
> --
> anidel
> Sent from London, Eng, United Kingdom
>



-- 
anidel
Sent from London, Eng, United Kingdom
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: DBus service name

2009-11-09 Thread Aniello Del Sorbo
2009/11/9 Henrik Hedberg :
> Aniello Del Sorbo wrote:
>
>> there's no two without a three... so.. third question of the day.
>> I am using com.nokia.xournal as DBus service name. I wanted to change it.
>> Thus I went to xournal.service and xournal.desktop files and changed
>> it to something less nokian and more maemian like org.maemo.xournal.
>>
>> Guess what.. Xournal gets killed after a few minutes.
>> Reverted back to com.nokia.xournal and it works again.
>
>   See:
>
> http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Application_Development/LibOSSO_library#Maemo_initialization
>
>   The name in OSSO initialization, .desktop file, and .service file must be
> the same.
>
>   BR,
>
>   Henrik
>

Thanks Henrik,

I know that, and they were the same... but still didn't work.
It works now that I reverted back to com.nokia.xournal...

Weird

-- 
anidel
Sent from London, Eng, United Kingdom
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: DBus service name

2009-11-08 Thread Henrik Hedberg
Aniello Del Sorbo wrote:

> there's no two without a three... so.. third question of the day.
> I am using com.nokia.xournal as DBus service name. I wanted to change it.
> Thus I went to xournal.service and xournal.desktop files and changed
> it to something less nokian and more maemian like org.maemo.xournal.
> 
> Guess what.. Xournal gets killed after a few minutes.
> Reverted back to com.nokia.xournal and it works again.

See:

http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Application_Development/LibOSSO_library#Maemo_initialization

The name in OSSO initialization, .desktop file, and .service file 
must be the same.

BR,

Henrik

-- 
Henrik Hedberg  -  http://www.henrikhedberg.net/
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


DBus service name

2009-11-08 Thread Aniello Del Sorbo
Hi again :)

there's no two without a three... so.. third question of the day.
I am using com.nokia.xournal as DBus service name. I wanted to change it.
Thus I went to xournal.service and xournal.desktop files and changed
it to something less nokian and more maemian like org.maemo.xournal.

Guess what.. Xournal gets killed after a few minutes.
Reverted back to com.nokia.xournal and it works again.

Why's that?
Do  I have to restart the system, is there some cache I am not aware of?

Thanks.

-- 
anidel
Sent from London, Eng, United Kingdom
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers