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:
parent
d3b28e72aa
commit
53dd291aba
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user