After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 680468 - Pan 0.139 Desktop.in
Pan 0.139 Desktop.in
Status: RESOLVED FIXED
Product: Pan
Classification: Other
Component: general
unspecified
Other Linux
: Normal minor
: ---
Assigned To: pan-maint
pan-maint
Depends on:
Blocks:
 
 
Reported: 2012-07-23 17:20 UTC by Bjørn Lie
Modified: 2012-07-25 17:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch for desktop.in (442 bytes, patch)
2012-07-24 08:54 UTC, Bjørn Lie
none Details | Review

Description Bjørn Lie 2012-07-23 17:20:13 UTC
Hi

We have had this patch in opensuse since "forever", and I suspect other distros has something similar.

Is this something that you would consider implementing?

bjolie@embla:~/build/ga/pan> cat fix-desktop-file-11.0.diff
Index: pan.desktop.in
===================================================================
--- pan.desktop.in.orig
+++ pan.desktop.in
@@ -1,10 +1,10 @@
 [Desktop Entry]
-Encoding=UTF-8
-_Name=Pan Newsreader
+_Name=Pan
+_GenericName=Newsreader
 _Comment=Read and Post Usenet Articles
 Exec=pan
-Icon=pan.png
+Icon=pan
 Terminal=false
 Type=Application
-Categories=GTK;Application;Network;News
+Categories=GTK;Network;News;
 StartupNotify=false

-----------------------------------

I see fedora does this:

desktop-file-install $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop \
   --vendor=fedora \
   --add-category=Application \
   --add-category=Network \
   --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
   --copy-name-to-generic-name \
   --delete-original
Comment 1 André Klapper 2012-07-24 08:42:35 UTC
[Please attach patches as attachments (instead of inline pasting) and set the "patch" flag so they can be queried for. Thanks!]
Comment 2 Bjørn Lie 2012-07-24 08:54:35 UTC
Created attachment 219552 [details] [review]
patch for desktop.in
Comment 3 Heinrich Müller 2012-07-25 17:36:54 UTC
Thanks, merged.