mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
Handle NameOwnerChanged dbus event
This commit is contained in:
10
progress.js
10
progress.js
@@ -139,11 +139,11 @@ var ProgressManager = Utils.defineClass({
|
||||
|
||||
let [name, before, after] = parameters.deep_unpack();
|
||||
|
||||
// if (!after) {
|
||||
// if (this._entriesByDBusName.hasOwnProperty(before)) {
|
||||
// this.removeEntry(this._entriesByDBusName[before]);
|
||||
// }
|
||||
// }
|
||||
if (!after) {
|
||||
if (this._entriesByDBusName.hasOwnProperty(before)) {
|
||||
this.removeEntry(this._entriesByDBusName[before]);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
_handleUpdateRequest: function(senderName, parameters) {
|
||||
|
||||
Reference in New Issue
Block a user