<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Epiphany displays incorrect name in gnome-shell app menu"
href="https://bugzilla.gnome.org/show_bug.cgi?id=752258#c20">Comment # 20</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Epiphany displays incorrect name in gnome-shell app menu"
href="https://bugzilla.gnome.org/show_bug.cgi?id=752258">bug 752258</a>
from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=jadahl%40gmail.com" title="Jonas Ådahl <jadahl@gmail.com>"> <span class="fn">Jonas Ådahl</span></a>
</span></b>
<pre>So, according to Jasper in <a href="show_bug.cgi?id=752258#c15">comment 15</a> "prgname" should be (or is completely
valid to be) the name of the binary, and according to Michael in <a href="show_bug.cgi?id=752258#c16">comment 16</a>
"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?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>