Closed Bug 536548 Opened 16 years ago Closed 16 years ago

Update the desktop file

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Maemo
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
fennec1.0

People

(Reporter: mfinkle, Assigned: mfinkle)

Details

Attachments

(1 file)

Attached patch patch — — Splinter Review
We support URI actions via DBus now and we should update the desktop file to reflect that. We also have a bad "Version" entry. I looked at MicroB's desktop file and saw we were missing "X-Osso-Type" too.
Attachment #419002 - Flags: review?(bugmail)
tracking-fennec: --- → ?
Comment on attachment 419002 [details] [diff] [review] patch > Type=Application >+Categories=Application;Network; >+Icon=@MOZ_APP_NAME@ > X-Icon-Path=/usr/share/icons >-Icon=@MOZ_APP_NAME@ > X-Window-Icon=@MOZ_APP_NAME@ > X-Window-Icon-dimmed=@MOZ_APP_NAME@ >-Categories=Application;Network; >+X-Osso-Service=mozilla.@MOZ_APP_NAME@ > MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png; >-X-Osso-Service=mozilla.@MOZ_APP_NAME@ is there a reason to move these? >+ >+[X-Osso-URI-Actions] >+http=X-Osso-URI-Action-Open >+https=X-Osso-URI-Action-Open >+ftp=X-Osso-URI-Action-Open >+file=X-Osso-URI-Action-Open >+ >+[X-Osso-URI-Action-Open] >+Method=load_url >+Name=uri_link_open_link >+TranslationDomain=osso-uri I'm looking at http://wiki.maemo.org/URL_Handler/API_rev1 as documentation for this and it doesn't seem to jive with what this patch is doing. If there is a different set of docs I should be looking at, please point me to it. the only other thing that comes to mind is what protocols we should list as supported. Out internal is is about, data, file, ftp, gopher, http, res and viewsource. Perhaps we should list about and data.... its debatable though.
I moved things to keep groups together. better, instead of random ordering. Use http://wiki.maemo.org/URL_Handler/API_rev2 and I checked that MicroB uses this format on N900 and N810
Some desktop file format info here: http://wiki.maemo.org/Desktop_file_format
more desktop spec info here: http://standards.freedesktop.org/desktop-entry-spec/latest/ freedesktop suggests a Version=1.0, while the maemo examples and actual shipping apps use 0.1 I'm not sure it even matters.
Comment on attachment 419002 [details] [diff] [review] patch looks good. We may want to think about supporting [X-Osso-URI-Action-Add-Bookmark] as well (since its documented)
Attachment #419002 - Flags: review?(bugmail) → review+
pushed: https://hg.mozilla.org/mobile-browser/rev/90ab19204199 I filed a bug to support X-Osso-URI-Action-Add-Bookmark (bug 537924)
Assignee: nobody → mark.finkle
Target Milestone: --- → RC
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Would this bug have anything to do with the loss of icon on "Add Shortcut" and Application Select menus on the n900? The bug's filed in https://bugzilla.mozilla.org/show_bug.cgi?id=538188
(In reply to comment #7) > Would this bug have anything to do with the loss of icon on "Add Shortcut" and > Application Select menus on the n900? The bug's filed in > https://bugzilla.mozilla.org/show_bug.cgi?id=538188 I wouldn't think so. The dsktop file still contains all the same data regarding the icons. Just moved it around a little.
Component: Linux/Maemo → General
OS: Linux → Linux (embedded)
QA Contact: maemo-linux → general
Hardware: x86 → ARM
tracking-fennec: ? → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: