Skip to content

Commit

Permalink
docking: Use CONNNECT_AFTER for mounts changes in docked dash
Browse files Browse the repository at this point in the history
Changing show-trash/show-mounts causes the file-manager proxy object to be
destroyed, in order to make sure this happens before that the icons might
consume this, connect to show-mounts and show-trash changes after.

(cherry picked from commit cbb7ce7)
  • Loading branch information
3v1n0 authored and philipl committed Sep 18, 2019
1 parent 7f6d96d commit 0839114
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docking.js
Original file line number Diff line number Diff line change
Expand Up @@ -485,11 +485,13 @@ var DockedDash = class DashToDock {
], [
this._settings,
'changed::show-trash',
() => { this.dash.resetAppIcons(); }
() => { this.dash.resetAppIcons(); },
Utils.SignalsHandlerFlags.CONNECT_AFTER,
], [
this._settings,
'changed::show-mounts',
() => { this.dash.resetAppIcons(); }
() => { this.dash.resetAppIcons(); },
Utils.SignalsHandlerFlags.CONNECT_AFTER
], [
this._settings,
'changed::show-running',
Expand Down

0 comments on commit 0839114

Please sign in to comment.