Commit Graph

56 Commits

Author SHA1 Message Date
Boyuan Yang
986b774142 systemnotification: Fix wrong icon name (#174)
Current implementation of SystemNotification::sendMessage()
is wrongly using "flameshot.png" as icon name.

We should strip the suffix and directly use "flameshot" to comply
with Desktop Notification Specification.

This commit does so and indeed makes notifications show flameshot
icon on GNOME Shell again.

See also https://developer.gnome.org/notification-spec/ .
2018-03-26 13:17:24 +02:00
lupoDharkael
0c943d4f87 Remove Encoding entry from autostart file 2018-02-24 11:55:01 +01:00
lupoDharkael
5461b27f0e Improve content of autostart file 2018-02-22 16:39:46 +01:00
lupoDharkael
1fa3c8f81a Add custom packaging prefix to the translation paths 2018-02-12 20:59:26 +01:00
lupoDharkael
85da4a3045 Translation paths based on OS 2018-02-02 20:57:27 +01:00
lupoDharkael
cc8f697163 Improve folder organization 2018-01-30 15:23:44 +01:00
lupoDharkael
71b63dcd6a Maintain config compatibility until 1.0 2018-01-24 01:27:25 +01:00
lupoDharkael
addc3dfd8c Launch at startup now working on Windows 2018-01-24 01:11:04 +01:00
lupoDharkael
ae9b8c062c Fast draw colors are now loaded from config 2018-01-23 18:58:19 +01:00
lupoDharkael
d721dcd560 Prefer prefer QVector over QList 2018-01-23 18:14:17 +01:00
Peter Schuller
48106975fb Fix case statement (so we build with clang). (#101) 2018-01-22 21:15:21 +01:00
lupoDharkael
e1bc6ba9c6 Start using #pragma once 2018-01-22 20:08:21 +01:00
lupoDharkael
89ac281033 Fix whitespace consistency 2018-01-19 00:58:40 +01:00
lupoDharkael
16a082c713 Fix MSVC warnings 2018-01-18 17:26:58 +01:00
lupoDharkael
bf9892d05e Use Native File Dialog 2018-01-14 16:21:33 +01:00
lupoDharkael
3a38abc2ab Add missing license information 2018-01-12 18:10:02 +01:00
lupoDharkael
02865322bf Update copyright 2018-01-12 17:58:30 +01:00
lupoDharkael
514195ff41 Don't hardcode temp path 2018-01-12 17:55:19 +01:00
lupoDharkael
f4c08dc3b9 Less error prone reset to default config 2018-01-10 17:55:57 +01:00
lupoDharkael
248c446dec Reimplement default configuration
Now it uses real default values without having to set all the
    initial values.
    I a value is not found it will use the default one.
2018-01-09 19:45:07 +01:00
lupoDharkael
05bcf5071e Update default values 2018-01-02 01:06:39 +01:00
lupoDharkael
2932e5930d Add configurable transparency
Now the opacity of the area outside the selection in the graphical
capture is configurable.
2017-12-31 17:46:26 +01:00
lupoDharkael
649aedd374 Fix Windows missing header 2017-12-30 16:44:38 +01:00
lupoDharkael
749b73cbb6 Add autostart option 2017-12-30 14:35:22 +01:00
lupoDharkael
500d537902 Force INI config format 2017-12-26 19:18:11 +01:00
lupoDharkael
c019e19109 Use tray notifications in Windows 2017-12-26 14:23:29 +01:00
lupoDharkael
16c959c826 Add timeout using tray notification 2017-12-26 02:06:57 +01:00
lupoDharkael
77aa604127 Remove dbus from Windows build 2017-12-26 02:00:07 +01:00
lupoDharkael
b162101cd8 Simpler desktop detection code 2017-12-24 00:00:05 +01:00
lupoDharkael
67297f1fe7 Fix Gnome Wayland detection 2017-12-23 23:46:01 +01:00
lupoDharkael
0214b7f557 Add configuration import, export and reset 2017-12-15 23:11:38 +01:00
lupoDharkael
11b101570f Use QStringLiteral 2017-12-15 18:34:05 +01:00
lupoDharkael
a5df852268 Add experimental support for captures with compositor 2017-12-15 18:16:33 +01:00
lupoDharkael
fb8112a2a4 App launcher: start in terminal when defined in desktop files 2017-12-14 19:31:41 +01:00
lupoDharkael
aca1546b1f Now you can choose to open the screenshot with more apps 2017-12-11 01:32:51 +01:00
lupoDharkael
9e6a7f76bd Fix App Opener widget 2017-12-04 18:29:52 +01:00
lupoDharkael
0357edaed8 App Launcher: add KeepOpen option 2017-12-02 11:13:11 +01:00
lupoDharkael
4664562728 Add OpenWith... tool 2017-12-01 21:35:07 +01:00
lupoDharkael
bb6ac04d60 Add --raw flag
Updated dbus API. Now it sends a signal with every capture, it may
be captureFailed or a captureTaken which contains the raw image
bytes in png format. You have to add an id to the screenshot calls
so it will be returned as a way to know the origin of the signal.
2017-11-09 18:14:04 +01:00
lupoDharkael
567c99a75e Add desktop enviroment checker 2017-10-28 22:22:04 +02:00
lupoDharkael
85eaa7d82e Add forced button order 2017-10-28 18:29:14 +02:00
lupoDharkael
6c68d35875 Compatibility with Qt 5.3 and Debian 8 2017-08-21 23:46:30 +02:00
lupoDharkael
b966a10c09 Now you can change the thickness of the drawing tools! 2017-08-17 14:47:27 +02:00
lupoDharkael
f6cd946995 Now ConfigHandler doesn't inherits from QObjet 2017-08-16 14:41:58 +02:00
lupoDharkael
6cefead0fc delete inlines, trust the compiler 2017-08-16 14:34:16 +02:00
lupoDharkael
4a56f44bb9 Refactor in the mechanism of saving and exporting
- new imgur upload interface.
- rework for a better code structure. It still needs another change separating the Controller from the code dedicated to export data to the system.
- created the concept of "worker", component used to do some work based on a screenshot.
2017-08-16 13:44:33 +02:00
lupoDharkael
924d467c53 general cleanup
-use of the override keyword
-delete unused code
-const correctness
-more uniform code style
-for each with const references when possible
-getters no longer use the word 'get'
-others
2017-08-09 13:20:07 +02:00
lupoDharkael
d9c6b603bb Autoupdate config menu after config changes 2017-07-31 22:41:08 +02:00
lupoDharkael
162bd5f543 Add update values slot for config widget 2017-07-31 01:00:14 +02:00
lupoDharkael
260561f074 Fix condition for desktop notifications 2017-07-28 23:04:17 +02:00