extensionsService: Really fix copying technical details

gdk_clipboard_set_text() is not introspectable, we have to use
gdk_clipboard_set_value() (shadowed as gdk_clipboard_set())
instead.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1796>
This commit is contained in:
Jan Tojnar 2021-04-08 06:25:28 +02:00 committed by Marge Bot
parent d3b28e72aa
commit 53dd291aba

View File

@ -253,7 +253,7 @@ var ExtensionPrefsDialog = GObject.registerClass({
}); });
action.connect('activate', () => { action.connect('activate', () => {
const clipboard = this.get_display().get_clipboard(); const clipboard = this.get_display().get_clipboard();
clipboard.set_text(this._errorMarkdown); clipboard.set(this._errorMarkdown);
}); });
this._actionGroup.add_action(action); this._actionGroup.add_action(action);