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 780157 - appFavorites: Rename gnome-music.desktop
appFavorites: Rename gnome-music.desktop
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2017-03-16 17:44 UTC by Carlos Soriano
Modified: 2017-04-11 09:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
appFavorites: Rename gnome-music.desktop (1009 bytes, patch)
2017-03-16 17:44 UTC, Carlos Soriano
none Details | Review
appFavorites: Rename gnome-music.desktop (1.39 KB, patch)
2017-03-16 17:58 UTC, Carlos Soriano
committed Details | Review

Description Carlos Soriano 2017-03-16 17:44:37 UTC
.
Comment 1 Carlos Soriano 2017-03-16 17:44:41 UTC
Created attachment 348108 [details] [review]
appFavorites: Rename gnome-music.desktop

Recently Music gained a flatpak manifest inside the repo in bug 779905.
However that requires the desktop file to be properly named like
DBUS addresses are.

This patch renames the old Music desktop file to the new one.
Comment 2 Florian Müllner 2017-03-16 17:52:59 UTC
Review of attachment 348108 [details] [review]:

::: js/ui/appFavorites.js
@@ +40,3 @@
     'polari.desktop': 'org.gnome.Polari.desktop',
     'totem.desktop': 'org.gnome.Totem.desktop',
+    'gnome-music.desktop': 'org.gnome.Music.desktop',

The list is supposed to be in alphabetical order
Comment 3 Carlos Soriano 2017-03-16 17:58:20 UTC
Created attachment 348109 [details] [review]
appFavorites: Rename gnome-music.desktop

Recently Music gained a flatpak manifest inside the repo in bug 779905.
However that requires the desktop file to be properly named like
DBUS addresses are.

This patch renames the old Music desktop file to the new one.
Comment 4 Florian Müllner 2017-03-16 18:03:56 UTC
Review of attachment 348109 [details] [review]:

OK
Comment 5 Carlos Soriano 2017-04-09 11:14:08 UTC
Attachment 348109 [details] pushed as 2cce1b9 - appFavorites: Rename gnome-music.desktop
Comment 6 Jeremy Bicha 2017-04-11 01:16:18 UTC
You need to push this commit to the gnome-3.24 branch since you the rename was released in gnome-music 3.24.1.
Comment 7 Carlos Soriano 2017-04-11 09:32:24 UTC
Hey, as mentioned in the gnome-music bug, that's an error. So this patch is fine in master.
Comment 8 Florian Müllner 2017-04-11 09:49:22 UTC
(In reply to Carlos Soriano from comment #7)
> So this patch is fine in master.

The patch is fine(*) either way - since commit 2c5bc4a1a9, we'll still use the old name when the new .desktop file cannot be found.

(*) except that I just noticed that you add the "// alphabetical order" comment,
    and then sort 'm' after 'n' ;-)
Comment 9 Carlos Soriano 2017-04-11 09:52:52 UTC
:((((