From ee150f294964bf5234395a54fbcdfed0c5e55bb5 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Sat, 28 Oct 2023 19:21:05 -0300 Subject: [PATCH] screenshot: Add and implement new D-Bus method The new InteractiveScreenshot() D-Bus method is implemented using the signals introduced by the previous commit, and is fundamentally very simple: take the screenshot, and return the GFile URI. Part-of: --- .../org.gnome.Shell.Screenshot.xml | 16 +++++++++++ js/ui/screenshot.js | 28 +++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/data/dbus-interfaces/org.gnome.Shell.Screenshot.xml b/data/dbus-interfaces/org.gnome.Shell.Screenshot.xml index 528b01ecb..8e16a30a6 100644 --- a/data/dbus-interfaces/org.gnome.Shell.Screenshot.xml +++ b/data/dbus-interfaces/org.gnome.Shell.Screenshot.xml @@ -11,6 +11,22 @@ --> + + + + + +