From 6688610c2391e5be24fb2c56e75a3cd2cbaf8671 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 18 Jul 2018 01:34:59 +0200 Subject: [PATCH] screenshot: Add PickColor() method to Screenshot interface Use the newly added API to implement a color picker method in the screenshot interface, so that the desktop portal can expose it to applications. https://gitlab.gnome.org/GNOME/gnome-shell/issues/286 --- data/org.gnome.Shell.Screenshot.xml | 17 +++++++ js/ui/screenshot.js | 79 +++++++++++++++++++++++++++++ 2 files changed, 96 insertions(+) diff --git a/data/org.gnome.Shell.Screenshot.xml b/data/org.gnome.Shell.Screenshot.xml index 9ffa5f61e..528b01ecb 100644 --- a/data/org.gnome.Shell.Screenshot.xml +++ b/data/org.gnome.Shell.Screenshot.xml @@ -91,6 +91,23 @@ + + + + +