GNOME Bugzilla – Bug 789869
[PATCH] wifi: add a refresh button
Last modified: 2018-01-21 15:13:33 UTC
Created attachment 362906 [details] [review] 0001-wifi-add-a-refresh-button.patch This way, user can scan anytime without having to wait. ====== I separated this patch from #786736 because they're not really dependent on each other. A new button design is also included.
Review of attachment 362906 [details] [review]: Some comments ::: panels/network/cc-wifi-panel.c @@ +453,3 @@ +static void +button_refresh_clicked_cb (GtkButton *button, CcWifiPanel *self) Style issue. ::: panels/network/net-device-wifi.c @@ +101,3 @@ + nm_device = net_device_get_nm_device (NET_DEVICE (device_wifi)); + g_return_if_fail (nm_device_get_device_type (nm_device) + == NM_DEVICE_TYPE_WIFI); Nitpick: Should be only one line ::: panels/network/wifi.ui @@ +216,3 @@ + <property name="margin_bottom">6</property> + <property name="use_underline">True</property> + <signal name="clicked" handler="button_refresh_clicked_cb" object="CcWifiPanel" swapped="no"/> The button should have no relief. It would look much less intrusive.
Created attachment 367176 [details] [review] wifi: Add a refresh button Improvements over the first patch.
Thanks for the patch! Attachment 367176 [details] pushed as 5ad72b6 - wifi: Add a refresh button