GNOME Bugzilla – Bug 690180
panel: Update corners' nearest button on session mode change
Last modified: 2013-01-04 13:42:22 UTC
The panel corners don't light up in the overview until one of the panel buttons is clicked. That's because we are getting a style-changed signal for the panel boxes when first showing the panel but by then the session mode hasn't been updated yet so the boxes are empty and thus we are not able to determine a button with which to sync the corners' style.
Created attachment 231514 [details] [review] panel: Remove unused method
Created attachment 231515 [details] [review] panel: Update corners' nearest button on session mode change With panel buttons changing dynamically on session mode changes we can no longer rely on a corner's respective box style-changed signal to find the nearest button. Instead, make the panel take care of telling the corners to look for a new button when buttons are changed.
Review of attachment 231514 [details] [review]: Heh, this method literally does nothing. Good catch.
Review of attachment 231515 [details] [review]: OK.
Attachment 231514 [details] pushed as 906ec3c - panel: Remove unused method Attachment 231515 [details] pushed as d87db04 - panel: Update corners' nearest button on session mode change