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

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Thu Jul 16 20:18:58 PDT 2015


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

--- Comment #28 from Jonas Ådahl <jadahl at gmail.com> ---
(In reply to Florian Müllner from comment #27)
> (In reply to Jonas Ådahl from comment #26)
> > (In reply to Florian Müllner from comment #25)
> > Won't this mean it'll be incorrect for D-Bus activatable applications with
> > no possibility to fix it? Or do you mean D-Bus activatable applications
> > should set the prgname to the interface name?
> 
> Yes, those can set prgname, though it wouldn't matter for GTK+ apps under
> GNOME (because _GTK_APPLICATION_ID/gtk_surface.application_id already
> matches the .desktop file in that case).

If this is the case, then the patch should be reverted, the original patch of
the bug should be applied instead. Can we also articulate this convention
somewhere, and add that to the glib API docs? So that every D-Bus activatable
application in GNOME calls g_set_prgname() with the bus name. It seems to be
the only way to make it possible to make it future proof without adding more
API.

> 
> 
> > gdk_get_program_class() will most likely never be correct. Prior to the
> > patch, gedit would be "Gedit" and gnome-terminal would be "Gnome-terminal"
> > IIRC.
> 
> The gedit case doesn't really matter (see above), and gnome-terminal is fine
> - the capitalization difference is covered by our heuristics.

Yea, but we still wouldn't follow the specification we wrote ourself.

-- 
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/20150717/276f2e65/attachment.html>


More information about the wayland-bugs mailing list