@@ -137,7 +137,10 @@ export default class JarvisExtension extends Extension {
|
||||
settingsItem.connect('activate', () => this._openSettings());
|
||||
menu.addMenuItem(settingsItem);
|
||||
} catch {}
|
||||
this._menuState = menu.connect('open-state-changed', (_menu, open) => { if (!open) this.popup.endTalk(); });
|
||||
this._menuState = menu.connect('open-state-changed', (_menu, open) => {
|
||||
if (!open) this.popup.endTalk();
|
||||
else this.popup.followActive();
|
||||
});
|
||||
}
|
||||
_openPopup() { try { this._indicator.menu.open(); } catch {} }
|
||||
_openSettings() {
|
||||
|
||||
Reference in New Issue
Block a user