Florian Müllner
79c020fdb9
panel: Set up 'open-state-changed' handler on menu changes
Commit 08690d658f42 generalized the banner-blocking behavior of the dateMenu to all menus that would obscure the banner. However setting up the 'open-state-changed' handler only when an indicator is added does not work for indicators that change their entire menu (like the app menu) - we currently end up with menus with no connected signal handler, and throw an error when trying to disconnect an invalid signal ID. To address this, add a new PanelButton::menu-set signal and use that to set up the 'open-state-changed' handler. https://bugzilla.gnome.org/show_bug.cgi?id=745910
GNOME Shell provides core user interface functions for the GNOME 3 desktop, like switching to windows and launching applications. GNOME Shell takes advantage of the capabilities of modern graphics hardware and introduces innovative user interface concepts to provide a visually attractive and easy to use experience. For more information about GNOME Shell, including instructions on how to build GNOME Shell from source and how to get involved with the project, see: https://wiki.gnome.org/Projects/GnomeShell Bugs should be reported at http://bugzilla.gnome.org against the 'gnome-shell' product. License ======= GNOME Shell is distributed under the terms of the GNU General Public License, version 2 or later. See the COPYING file for details.
Description
Languages
C
49.2%
JavaScript
47.4%
SCSS
1.4%
Meson
0.8%
Python
0.6%
Other
0.4%