Browse Source

deskletManager: Correct call to file.delete (#6650)

consistent with appletManager now. Was showing log errors
tags/upstream/3.4.4^2
Simon Brown Clement Lefebvre 4 years ago
parent
commit
98fb9b1afb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      js/ui/deskletManager.js

+ 1
- 1
js/ui/deskletManager.js View File

@@ -235,7 +235,7 @@ function _removeDeskletConfigFile(uuid, instanceId) {
let file = Gio.File.new_for_path(config_path);
if (file.query_exists(null)) {
try {
file.delete(null, null);
file.delete(null);
} catch (e) {
global.logError("Problem removing desklet config file during cleanup. UUID is " + uuid + " and filename is " + config_path);
}


Loading…
Cancel
Save