mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
Merge pull request #1723 from lucaxvi/master
Change first launch action fixes #1622
This commit is contained in:
@@ -1014,7 +1014,7 @@ var TaskbarAppIcon = GObject.registerClass({
|
||||
}
|
||||
|
||||
_launchNewInstance() {
|
||||
if (this.app.can_open_new_window()) {
|
||||
if (this.app.can_open_new_window() && this.app.state == Shell.AppState.RUNNING) {
|
||||
let appActions = this.app.get_app_info().list_actions();
|
||||
let newWindowIndex = appActions.indexOf('new-window');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user