Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test-spice] Add applet reload after successful copy #6616

Merged
merged 2 commits into from
Nov 24, 2024

Conversation

timfeierabend
Copy link
Contributor

Change:
Add automatic reload of applet after copying to DEVTEST path

Rationale:
Currently, when a developer needs to test their applet, they need to run ./test-spice uuid, followed up by explicitly entering the applet settings, and triggering a reload of the applet from the hamburger menu. In my tests, removing/re-adding the applet from the panel didn't trigger a reload in Cinnamon.

Now, when a developer runs ./test-spice uuid, the script will tell Cinnamon to reload the applet using same method as the applet settings, making it easier for the developer to test their changes.

@rcalixte

updated validate_spice to return true/false whether spice is
valid.

added reload_xlet to tell cinnamon to reload the devtest applet
after successful copy.
test-spice Outdated Show resolved Hide resolved
Co-authored-by: Rick Calixte <[email protected]>
@rcalixte rcalixte merged commit c513007 into linuxmint:master Nov 24, 2024
1 check passed
@timfeierabend timfeierabend deleted the feature/add-xlet-reload branch November 24, 2024 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants