[Wayland-bugs] [Bug 752258] Epiphany displays incorrect name in gnome-shell app menu

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Wed Jul 15 11:27:06 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=752258

--- Comment #16 from Michael Catanzaro <mcatanzaro at gnome.org> ---
(In reply to Jasper St. Pierre from comment #15)
> No, it must set the prgname to the name of your binary. If you have a binary
> called "gedit" and a desktop file of org.gnome.gedit.desktop, it is entirely
> legal to keep your prgname as gedit, because then "killall gedit" works fine.

I can say for sure that GNOME Shell application matching in previous GNOME
releases does not work unless prgname is set to the name of the desktop file.
See for instance GNOME Chess 3.10, with a binary named gnome-chess and a
desktop file glchess.desktop. I set the prgname to glchess, or else GNOME Shell
displayed a blurry icon and the name of the binary (or was it the desktop
file?) rather than "GNOME Chess" in the app menu when running gnome-chess in
jhbuild. (I later renamed the desktop file to match the binary and got rid of
the call that sets prgname at the same time.)

We also have a wiki page instructing developers to set prgname to match the
desktop file: https://wiki.gnome.org/Projects/GnomeShell/ApplicationBased

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150715/456ceffc/attachment.html>


More information about the wayland-bugs mailing list