Re: [maemo-developers] xournal mime-type
Hi Jorge On Sat, Nov 25, 2006 at 08:47:40AM +0100, Jorge Salamero Sanz wrote: > i'm trying to define application/xoj so xournal can open *.xoj files from > file > manager. [ correct actions are skipped ] Everything you've done is correct :) The only missing part is the application change. You must register a mime callback using osso_mime_set_cb Please see http://maemo.org/platform/docs/api/libosso/html/group__MIME.html for details. Kind Regards -- Misha signature.asc Description: Digital signature ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] xournal mime-type
hi all, i'm trying to define application/xoj so xournal can open *.xoj files from file manager. i've the following /usr/share/applications/hildon/xournal.desktop : [Desktop Entry] Encoding=UTF-8 Version=0.3.1 Type=Application Name=Xournal Comment=Notetaking tool Exec=/usr/bin/xournal Icon=xournal Terminal=false X-Window-Icon=xournal X-Window-Icon-Dimmed=xournal X-Osso-Service=xournal X-HildonDesk-ShowInToolbar=true X-Osso-Type=application/x-executable StartupWMClass=xournal MimeType=application/xoj; and /usr/share/mime/packages/xournal.xml : http://www.freedesktop.org/standards/shared-mime-info";> Xournal note then i've done: update-mime-database /usr/share/mime update-desktop-database now when i click on an xoj file, xournal opens but it's shown a new untitled file. do you know what's wrong ? thanks ! ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers