Add history-clear command#1131
Add history-clear command#1131fwsmit merged 3 commits intodunst-project:masterfrom fapfaff:feature/history-clear
Conversation
|
Just curious, what do you use this for? |
|
For an eww widget displaying my notification history |
|
Do you have an idea why it doesn't build? Sorry for asking you my noob questions, but it's working locally without any problems and I couldn't find anything that helps me. |
|
I'm guessing the version of glib for these distro's is too old. You need at least version 2.6 to get this function. I've ran the archlinux build again and it works. This seems to confirm my suspicion. vTake a look at https://docs.gtk.org/glib/struct.Queue.html for the version requirements of different functions. You can work around this by using other queue functions in glib. |
|
Thanks, I have replaced it. Should work now. |
Codecov Report
@@ Coverage Diff @@
## master #1131 +/- ##
==========================================
+ Coverage 65.26% 65.27% +0.01%
==========================================
Files 46 46
Lines 7358 7381 +23
==========================================
+ Hits 4802 4818 +16
- Misses 2556 2563 +7
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
LGTM, thanks! |
Fixes: dbe8367 ("Add history-clear command (dunst-project#1131)") Fixes: 82fb1d9 ("remove d from pause level commands")
Added command to remove all notifications from history.