eneoli / flakeshot

A screenshot tool for unix-systems which runs natively on Wayland and X11!
GNU General Public License v2.0
20 stars 1 forks source link

Add notification system #115

Closed TornaxO7 closed 7 months ago

TornaxO7 commented 8 months ago

Closes https://github.com/eneoli/flakeshot/issues/101

So the main changes are regarding the save options: It'll prompt a little notification after saving the image to the clipboard/file chooser:

image

Also I didn't convert most of the .expect calls to notifications, because they're often in places which are verifying the internal behaviour of flakeshot (like cropping the image). If one of those excepts fire, than this means that there's an internal error in flakeshot hence it doesn't help to inform the user that he can't use the tool.

eneoli commented 7 months ago

@TornaxO7 there are conflicts in main_window.rs. If they are resolved we can merge:)