mirror of
https://github.com/Hopiu/RandomWallpaperGnome3.git
synced 2026-03-16 22:20:24 +00:00
fixed blinking history on selecting a history item
This commit is contained in:
parent
77d3f08981
commit
428bb1f46a
1 changed files with 1 additions and 1 deletions
|
|
@ -72,6 +72,7 @@ let RandomWallpaperEntry = new Lang.Class({
|
|||
// reset it if needed
|
||||
this.menu.actor.connect('hide', function() {
|
||||
wallpaperController.setWallpaper(_this.history[0]);
|
||||
_this.setHistoryList();
|
||||
});
|
||||
},
|
||||
|
||||
|
|
@ -94,7 +95,6 @@ let RandomWallpaperEntry = new Lang.Class({
|
|||
|
||||
tmp.actor.connect('button-press-event', function(actor) {
|
||||
wallpaperController.setWallpaper(historyid);
|
||||
_this.setHistoryList();
|
||||
});
|
||||
|
||||
this.historySection.addMenuItem(tmp);
|
||||
|
|
|
|||
Loading…
Reference in a new issue