gnome-shell/js
Marco Trevisan (Treviño) 03a46be5c7 telepathyClient: Use proper Object to wrap different tpl messages
In telepathyClient we consider messages both Tpl.TextEvents and
Tpl.Messages, and we manually create JS objects to copy the properties we
care for each one. This may lead to objects not matching the interface we
want.

Instead, use an object with construct-only properties and two factory static
methods to initialize it.

Unfortunately we need to use the ChatMessageClass for the class name or
calling the static methods would trigger a gjs error as per [1].

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1113

[1] https://gitlab.gnome.org/GNOME/gjs/-/issues/310
2020-03-25 22:22:49 +00:00
..
dbusServices dbusServices/extensions: Include Params module 2020-03-24 10:38:24 +01:00
extensionPrefs extensionPrefs: Ensure up-to-date release version in metainfo 2020-03-25 19:56:52 +00:00
gdm loginDialog: Retain native logo dimensions 2020-03-22 15:06:36 +00:00
misc ibusManager: Simplify code a bit 2020-03-24 08:27:27 +01:00
perf cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
portalHelper js: Don't use templates in files with translations 2020-02-17 23:20:40 +01:00
ui telepathyClient: Use proper Object to wrap different tpl messages 2020-03-25 22:22:49 +00:00
js-resources.gresource.xml swipeTracker: Introduce swipe tracker 2020-01-10 18:20:22 +01:00
meson.build extensionPrefs: Use imports.package.start() 2020-03-19 14:27:35 +00:00
portal-resources.gresource.xml js: Remove unused files from resources 2020-03-09 13:18:48 +00:00