rjanja / desktop-capture

Screenshot and screencasting tools for Cinnamon.
40 stars 11 forks source link

Make applet appear as "safe" #50

Closed rjanja closed 7 years ago

rjanja commented 7 years ago

Since the last major update to this applet, the Cinnamon Applet settings dialog was made to detect system calls being made within applets and to indicate that they may not be safe for users: https://github.com/linuxmint/Cinnamon/commit/382338254f59b5e98cfc168accf45429808e69ae#diff-c4641b580bb45b188c5ae94c7f7a33cfR1577

This applet uses such system calls to detect availability of screenshot tools and to read settings and program-support JSON.

We might be able to work around this by replacing the calls to GLib.spawn_command_line_sync and Cinnamon.get_file_contents_utf8_sync with newer "safe" calls. This will take some investigation.