summaryrefslogtreecommitdiff
path: root/panels/network/cc-wifi-panel.c
diff options
context:
space:
mode:
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2018-07-22 13:03:58 -0300
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2018-07-23 12:55:59 +0000
commit4ad1c5dea1239dadc8f381eb1caaf8a0f7e578ec (patch)
treea968cc503521fb018348fb13d52e222b9db664fc /panels/network/cc-wifi-panel.c
parentf9b9f105ddcbeb5d57edf8576142cdceea56390c (diff)
downloadgnome-control-center-4ad1c5dea1239dadc8f381eb1caaf8a0f7e578ec.tar.gz
wifi: Expose Airplane Mode row outside access point list
The current Wi-Fi panel ties the Airplane Mode row to the access point list of a given Wi-Fi adapter. That has unintended but bad side effects: when enabling Airplane Mode, the row disappears and we have to switch to another panel (e.g. Bluetooth) in order to disable it. This is functionally wrong: we should be able to enable or disable Airplane Mode from where we initially changed it. This commit reorganizes the widget hierarchy in order to put the Airplane Mode row outside of the main GtkStack page. This is necessary in order to fully implement the proposed mockups[1] and, in general, because it's the right thing to do. Notice that the logic of the empty states in [1] is not fully implemented yet; this commit only reorganizes the widgets that already exist to get closer to the mockups. Subsequent commits will implement more of the empty states. [1] https://github.com/gnome-design-team/gnome-mockups/raw/master/system-settings/network/aday3/wi-fi-wires.png Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/issues/121
Diffstat (limited to 'panels/network/cc-wifi-panel.c')
0 files changed, 0 insertions, 0 deletions