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

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Wed Jul 15 18:37:55 PDT 2015


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

--- Comment #20 from Jonas Ã…dahl <jadahl at gmail.com> ---
So, according to Jasper in comment 15 "prgname" should be (or is completely
valid to be) the name of the binary, and according to Michael in comment 16
"prgname" should always be the basename of the .desktop file. For the
org.gnome.gedit.desktop case, *should* the prgname be "gedit" or
"org.gnome.gedit"?

If it should be "gedit" then we cannot use prgname to set the xdg_surface
app_id since it should mean that for D-Bus activatable applications always set
the wrong ID. Using the GtkApplication ID isn't very good either, since it'd be
wrong for all non-D-Bus-activatable applications, but at least it isn't
incorrect forever.

If it should be "org.gnome.gedit" it'd be helpful to fix the documentation of
glib (not counting a wiki page) to say that applications need to set the
"prgname" to the basename of the .desktop file. In this case we can use prgname
to set the xdg_surface app_id (i.e. revert the patch and apply the original
rejected patch from the same bug) and also fix all the applications that
doesn't yet do this.

So my question is, should "prgname" *always* be the .desktop file basename?

-- 
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/20150716/fde29520/attachment.html>


More information about the wayland-bugs mailing list