phase1geo / Annotator

Image annotation for Elementary OS
GNU General Public License v3.0
209 stars 22 forks source link

Disable screenshot UI widgets when no dbus service #65

Closed karthanistyr closed 2 years ago

karthanistyr commented 2 years ago

Not every system that can execute Annotator has the hardcoded DBus service for screenshots available. This patch disables the UI controls for screenshots when the screenshot service is unavailable on the system to avoid a crash.

Also disables the screenshot keyboard shortcuts.

The cli options have consciously been left to error out in this context, as the stderr output should be clear enough.

Signed-off-by: Antoine Mazeas antoine@karthanis.net

karthanistyr commented 2 years ago

Visuals

Capture_2022-09-20_02-34-16 174792429 Capture_2022-09-20_02-34-04 548760090

phase1geo commented 2 years ago

Thank you!

karthanistyr commented 2 years ago

no, thank you for making a useful app :)