diff --git a/package-lock.json b/package-lock.json index 15b6438..fd9befc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "lightdm-neon", - "version": "0.1.0", + "version": "0.1.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "lightdm-neon", - "version": "0.1.0", + "version": "0.1.1", "devDependencies": { "@rollup/plugin-commonjs": "^22.0.0", "@rollup/plugin-node-resolve": "^13.3.0", diff --git a/package.json b/package.json index e9c4a89..7954fc0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lightdm-neon", - "version": "0.1.0", + "version": "0.1.1", "private": true, "scripts": { "build": "rollup -c", diff --git a/src/pages/PowerMenu.svelte b/src/pages/PowerMenu.svelte index b9db34f..ab0df3b 100644 --- a/src/pages/PowerMenu.svelte +++ b/src/pages/PowerMenu.svelte @@ -6,19 +6,19 @@
{#if window.lightdm.can_hibernate} - + window.lightdm.hibernate()} /> {/if} {#if window.lightdm.can_suspend} - + window.lightdm.suspend()} /> {/if} {#if window.lightdm.can_restart} - + window.lightdm.restart()} /> {/if} {#if window.lightdm.can_shutdown} - + window.lightdm.shutdown()} /> {/if}
diff --git a/src/utils/mock.ts b/src/utils/mock.ts index 9d400da..3acdfdd 100644 --- a/src/utils/mock.ts +++ b/src/utils/mock.ts @@ -242,15 +242,19 @@ export class Greeter implements GreeterClass { } hibernate() { + alert('hibernate'); return true; } restart() { + alert('restart'); return true; } shutdown() { + alert('shutdown') return true; } suspend() { + alert('suspend'); return true; } respond(response: string) {