Commit graph

3 commits

Author SHA1 Message Date
Georges Basile Stavracas Neto
4aee781ab6 shell: ensure valid data when loading the panel
When loading a given panel, make sure we have a valid
panel before setting the sidelist.

This is a follow-up fix per request in bug [1].

[1] https://bugzilla.gnome.org/show_bug.cgi?id=769063
2016-07-26 11:59:07 -03:00
Georges Basile Stavracas Neto
42a360eed6 shell: update sidebar when active panel is set externally
When the active panel is not changed through sidebar navigation,
e.g. by calling the Control Center through command line and asking
to open a specific panel, the panel is correctly opened but the
sidebar is not updated to reflect that.

Fix that by selecting the externally set panel row, and eventually
moving to the correct list.

https://bugzilla.gnome.org/show_bug.cgi?id=769063
2016-07-26 11:22:28 -03:00
Georges Basile Stavracas Neto
cb1e0c4a01 panel-list: create a custom class to handle the sidelist
As the sidelist gets more complex, managing it in CcWindow
would make it very confusing.

This patch introduces the CcPanelList, a widget that manages
the sidelist.

https://bugzilla.gnome.org/show_bug.cgi?id=767301
2016-06-14 12:16:43 -03:00