After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 701755 - Initial fixes for aggregate menu work
Initial fixes for aggregate menu work
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2013-06-06 18:00 UTC by Jasper St. Pierre (not reading bugmail)
Modified: 2013-06-06 19:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
userMenu: Move UserAvatarWidget into UserWidget (10.82 KB, patch)
2013-06-06 18:00 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review
userMenu: Use addSettingsAction (1.76 KB, patch)
2013-06-06 18:00 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review
popupMenu: Fix bubbling in the slider widget (1005 bytes, patch)
2013-06-06 18:00 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review
slider: Separate PopupSliderMenuItem into its own widget (18.52 KB, patch)
2013-06-06 18:00 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review
volume: Remove some unused variables (988 bytes, patch)
2013-06-06 18:00 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review
network: Remove a dead signal (902 bytes, patch)
2013-06-06 18:00 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review
network: Reformat connection code (2.59 KB, patch)
2013-06-06 18:01 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review

Description Jasper St. Pierre (not reading bugmail) 2013-06-06 18:00:36 UTC
These are all small code fixes. None of them change any behavior.
Comment 1 Jasper St. Pierre (not reading bugmail) 2013-06-06 18:00:40 UTC
Created attachment 246177 [details] [review]
userMenu: Move UserAvatarWidget into UserWidget
Comment 2 Jasper St. Pierre (not reading bugmail) 2013-06-06 18:00:43 UTC
Created attachment 246178 [details] [review]
userMenu: Use addSettingsAction
Comment 3 Jasper St. Pierre (not reading bugmail) 2013-06-06 18:00:47 UTC
Created attachment 246179 [details] [review]
popupMenu: Fix bubbling in the slider widget
Comment 4 Jasper St. Pierre (not reading bugmail) 2013-06-06 18:00:50 UTC
Created attachment 246180 [details] [review]
slider: Separate PopupSliderMenuItem into its own widget
Comment 5 Jasper St. Pierre (not reading bugmail) 2013-06-06 18:00:53 UTC
Created attachment 246181 [details] [review]
volume: Remove some unused variables
Comment 6 Jasper St. Pierre (not reading bugmail) 2013-06-06 18:00:58 UTC
Created attachment 246182 [details] [review]
network: Remove a dead signal

This signal is unused.
Comment 7 Jasper St. Pierre (not reading bugmail) 2013-06-06 18:01:01 UTC
Created attachment 246183 [details] [review]
network: Reformat connection code

This makes the code flow the same between removeConnection and checkConnection.
Comment 8 Giovanni Campagna 2013-06-06 19:14:00 UTC
Review of attachment 246177 [details] [review]:

I wonder why it was in UserMenu before.
Comment 9 Giovanni Campagna 2013-06-06 19:15:30 UTC
Review of attachment 246178 [details] [review]:

I thought you had a later patch that removed addSettingsAction (given that the design removes control panel launchers).
Comment 10 Giovanni Campagna 2013-06-06 19:17:17 UTC
Review of attachment 246179 [details] [review]:

Ok
Comment 11 Giovanni Campagna 2013-06-06 19:18:17 UTC
Review of attachment 246180 [details] [review]:

Yes
Comment 12 Giovanni Campagna 2013-06-06 19:18:57 UTC
Review of attachment 246181 [details] [review]:

Ok
Comment 13 Giovanni Campagna 2013-06-06 19:19:13 UTC
Review of attachment 246182 [details] [review]:

Yes.
Comment 14 Giovanni Campagna 2013-06-06 19:20:34 UTC
Review of attachment 246183 [details] [review]:

::: js/ui/status/network.js
@@ +1954,3 @@
+        } else if (section == NMConnectionCategory.VPN) {
+            this._vpnSection.removeConnection(connection);
+        } else if (section != NMConnectionCategory.INVALID) {

You check this condition above.
Comment 15 Jasper St. Pierre (not reading bugmail) 2013-06-06 19:25:58 UTC
Review of attachment 246178 [details] [review]:

We still use it in the accessibility and keyboard dropdowns, and the new design has submenus with launchers, so it's useful to keep it around.

https://raw.github.com/gnome-design-team/gnome-mockups/master/shell/combined-system-status-menu-v2-submenus.png
Comment 16 Jasper St. Pierre (not reading bugmail) 2013-06-06 19:32:51 UTC
Attachment 246177 [details] pushed as 403540e - userMenu: Move UserAvatarWidget into UserWidget
Attachment 246178 [details] pushed as b68eb44 - userMenu: Use addSettingsAction
Attachment 246179 [details] pushed as cc64091 - popupMenu: Fix bubbling in the slider widget
Attachment 246180 [details] pushed as 847cb5b - slider: Separate PopupSliderMenuItem into its own widget
Attachment 246181 [details] pushed as 23dd5cc - volume: Remove some unused variables
Attachment 246182 [details] pushed as 380a71d - network: Remove a dead signal
Attachment 246183 [details] pushed as aee7cd7 - network: Reformat connection code


Pushed with fix for the last one. Nice catch!