[maemo-developers] [maemo-developers] Re: xournal mime-type
From: Danny Milosavljevic danny_milo at yahoo.comDate: Sat Nov 25 17:57:41 EET 2006
- Previous message: [maemo-developers] xournal mime-type
- Next message: [maemo-developers] Re: RE: sorry, i forgot the title, it's a newbie question(no new mesage in here)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [maemo-developers] xournal mime-type
- Next message: [maemo-developers] Re: RE: sorry, i forgot the title, it's a newbie question(no new mesage in here)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]