Fix icon update on NM going away

This commit is contained in:
Dan Williams 2006-11-12 18:37:25 -05:00
parent fa94236b78
commit 9e6f1b6619

View File

@ -834,7 +834,7 @@ class NMClientApp:
if (old and len(old)) and (not new and not len(new)):
# NM went away
self._nm_present = False
self._schedule_update_timer()
self._schedule_icon_update(immediate=True)
for op in self._devices.keys():
del self._devices[op]
self._devices = {}