Skip to content

Commit

Permalink
Merge pull request #223 from neffo/version-48
Browse files Browse the repository at this point in the history
Version 48
  • Loading branch information
neffo authored Nov 6, 2023
2 parents bbae510 + 2ca915d commit bc29810
Show file tree
Hide file tree
Showing 10 changed files with 504 additions and 395 deletions.
2 changes: 1 addition & 1 deletion blur.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var promptActive = false; // default GNOME method of testing this relies on st

function log(msg) {
if (debug) // set 'debug' above to false to keep the noise down in journal
print("BingWallpaper extension/Blur: " + msg);
console.log("BingWallpaper extension/Blur: " + msg);
}

// we patch UnlockDialog._updateBackgroundEffects()
Expand Down
5 changes: 2 additions & 3 deletions carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,8 @@ export default class Carousel {
deleteButton.connect('clicked', (widget) => {
this.log('Delete requested for '+filename);
Utils.deleteImage(filename);
//Utils.cleanupImageList(this.settings);
//Utils.cleanupImageList(this.settings); // hide image instead
Utils.hideImage(this.settings, [image]);
Utils.cleanupImageList(this.settings);
widget.get_parent().get_parent().set_visible(false); // bit of a hack
if (this.callbackfunc)
this.callbackfunc();
Expand Down Expand Up @@ -224,6 +223,6 @@ export default class Carousel {

log(msg) {
if (this.settings.get_boolean('debug-logging'))
print("BingWallpaper extension: " + msg); // disable to keep the noise down in journal
console.log("BingWallpaper extension: " + msg); // disable to keep the noise down in journal
}
};
358 changes: 220 additions & 138 deletions extension.js

Large diffs are not rendered by default.

Loading

0 comments on commit bc29810

Please sign in to comment.