resync cmd line validity on focus gained
The following Merge Request (MR) has been forwarded from GitHub in order to prevent the GNOME Project from losing contributions coming from un-official channels. And for contributors to not see their valuable contributions not being accounted for.
Relevant information:
Github handle: dakhnod
MR URL: https://github.com/GNOME/alacarte/pull/8
Patch URL: https://github.com/GNOME/alacarte/pull/8.patch
Body of the MR:
Often, when the application comlains that the file is not executable, the user has to go to the terminal, set the executable flag, and go back to the application. Then, he has to somehow trigger the revalidation. With this PR, the revalidation happens automatically when focus is regained.