Allow disabling of window launch animation

This commit is contained in:
jderose9
2017-02-17 23:52:39 -05:00
parent 907b6af5c1
commit 2b28197363

View File

@@ -1524,7 +1524,8 @@ const taskbarAppIcon = new Lang.Class({
break;
case "LAUNCH":
this.animateLaunch();
if(this._dtpSettings.get_boolean('animate-window-launch'))
this.animateLaunch();
this.app.open_new_window(-1);
break;
@@ -1579,7 +1580,8 @@ const taskbarAppIcon = new Lang.Class({
}
}
else {
this.animateLaunch();
if(this._dtpSettings.get_boolean('animate-window-launch'))
this.animateLaunch();
this.app.open_new_window(-1);
}