Skip to content

Commit

Permalink
fix: drop the session override
Browse files Browse the repository at this point in the history
This was intended to ensure the screen was unblanked when the `lock`
plugin unlocks the session, but seems both unnecessary and having
unwanted side-effects.

closes #97
  • Loading branch information
andyholmes committed Apr 26, 2024
1 parent 1d4fb56 commit cb9e7c2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 31 deletions.
3 changes: 0 additions & 3 deletions src/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@
import {Extension} from 'resource:///org/gnome/shell/extensions/extension.js';

import * as Notification from './notification.js';
import * as Session from './session.js';
import * as Status from './status.js';


export default class ValentExtension extends Extension {
enable() {
Notification.enable();
Session.enable();

this._indicator = new Status.Indicator();
}
Expand All @@ -27,7 +25,6 @@ export default class ValentExtension extends Extension {
*/
disable() {
Notification.disable();
Session.disable();

this._indicator?.destroy();
this._indicator = null;
Expand Down
1 change: 0 additions & 1 deletion src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ extension_sources = [
'extension.js',
'notification.js',
'remote.js',
'session.js',
'status.js',
'stylesheet.css',
]
Expand Down
27 changes: 0 additions & 27 deletions src/session.js

This file was deleted.

0 comments on commit cb9e7c2

Please sign in to comment.