Skip to content

Commit dc30a7a

Browse files
committed
Fix #42: Delete session is not working
1 parent 8801418 commit dc30a7a

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
],
1010
"url": "https://github.com/nlpsuge/gnome-shell-extension-another-window-session-manager",
1111
"uuid": "another-window-session-manager@gmail.com",
12-
"version": 15
12+
"version": 16
1313
}

utils/fileUtils.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ function trashSession(sessionName) {
104104
}
105105

106106
let trashed = false;
107+
const sessionFilePath = GLib.build_filenamev([sessions_path, sessionName]);
107108
try {
108109
const sessionPathFile = Gio.File.new_for_path(sessionFilePath);
109110
trashed = sessionPathFile.trash(null);

0 commit comments

Comments
 (0)