Hi,

On Sat, 25 Nov 2006 08:47:40 +0100, Jorge Salamero Sanz wrote:
[...]
> now when i click on an xoj file, xournal opens but it's shown a new untitled 
> file. do you know what's wrong ?

Maemo has a weird optimization that ensures that there is only one process
running of an application.

Basically it means that main() is entered once, and you mainloop there.

Once you click on a file in file manager, a callback in your process will
be called (mime_cb) with argv[] (NOT main).
If you click on another file in file manager, a callback in your process
will be called (mime_cb) with argv[] (NOT main).
And so on :)

(all this is done using dbus)

see: 
http://groups.google.com/group/fbreader/browse_thread/thread/04d4d4977b472692/f264a79d973449d6?lnk=raot

cheers,
  Danny

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

Reply via email to