Skip to content

Commit b77b91f

Browse files
committed
Don't refresh menu on menu close
1 parent 59946f1 commit b77b91f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

  • files/usr/share/cinnamon/applets/notifications@cinnamon.org

files/usr/share/cinnamon/applets/notifications@cinnamon.org/applet.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,11 @@ class CinnamonNotificationsApplet extends Applet.TextIconApplet {
273273
}
274274

275275
on_applet_clicked(event) {
276-
this._openMenu();
276+
if (!this.menu.isOpen){
277+
this._openMenu();
278+
} else {
279+
this.menu.toggle();
280+
}
277281
}
278282

279283
on_btn_open_system_settings_clicked() {

0 commit comments

Comments
 (0)