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.
  • Loading branch information
3v1n0 committed Sep 17, 2019
1 parent c704fb3 commit cbb7ce7
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 @@ -484,11 +484,13 @@ var DockedDash = GObject.registerClass({
], [
settings,
'changed::show-trash',
() => { this.dash.resetAppIcons(); }
() => { this.dash.resetAppIcons(); },
Utils.SignalsHandlerFlags.CONNECT_AFTER,
], [
settings,
'changed::show-mounts',
() => { this.dash.resetAppIcons(); }
() => { this.dash.resetAppIcons(); },
Utils.SignalsHandlerFlags.CONNECT_AFTER
], [
settings,
'changed::show-running',
Expand Down

0 comments on commit cbb7ce7

Please sign in to comment.