Commit Graph

10 Commits

Author SHA1 Message Date
Haris Gušić
73e6762e3d Remove redundant DBus methods
NOTE: This breaks KDE shortcuts
2021-10-08 19:11:22 +02:00
Haris Gušić
5ee85ed5c0 Add requestCapture DBus call
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2021-10-08 19:11:22 +02:00
a1346054
b95e096136 Simple maintenance improvements (#1918)
* Use license file from gnu.org

Downloaded from:
https://www.gnu.org/licenses/gpl-3.0.txt

* Add missing final newline

* Fix link

* Fix shellcheck warnings

* Move donation header one level up

* Fix typos

* Stop mixing tabs and spaces

* Trim trailing whitespace
2021-09-27 20:33:45 -05:00
Haris Gušić
584bcd7f6c Add --clipboard to gui subcommand (#1829)
* Add --clipboard to gui subcommand

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Prevent duplicate notification

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2021-08-20 13:09:06 -05:00
brimston3
e2bd91a1de Add captureSaved to dbus interface description 2021-01-15 12:49:33 -06:00
Jeremy Fleischman
05c2bc6ae7 Added a gui --selection option to print out the geometry of the selection.
Fixes #425.
2020-10-26 11:46:39 -05:00
Daniel Schaefer
dea3c7bb87 dbus/org.dharkael.Flameshot.xml: Mark id as uint
In src/core/flameshotdbusadapter.h the id is marked as uint.
All other types in the xml are correct.
2020-09-07 19:33:10 -05:00
Boyuan Yang
a8fb73b668 Use ${CMAKE_INSTALL_PREFIX} to provide APP_PREFIX
Currently the value of $prefix is hardcoded in the source code.
This is not a good choice given we have switched to CMake and
that CMake provides the builtin variable ${CMAKE_INSTALL_PREFIX}
to provide this information.

This patch uses the value of ${CMAKE_INSTALL_PREFIX} to populate
flameshot's internal variable APP_PREFIX as well as using it
in generating the org.flameshot.Flameshot.service file with
a proper $prefix value (via CMAKE_INSTALL_FULL_BINDIR as provided
by GNUInstallDirs).
2020-09-04 20:43:35 -05:00
borgmanJeremy
c0e2e48db4 Fix CMake Package and DBUS Names (#819)
* Fix CMake Packaging to properly package assets.
2020-09-04 19:29:37 -05:00
Jeremy Borgman
f5013df306 First pass at converting from qmake to cmake. 2020-07-10 20:10:14 -05:00