[gnome-control-center/gnome-3-16] network: Fix all Wi-Fi networks having gear buttons
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gnome-3-16] network: Fix all Wi-Fi networks having gear buttons
- Date: Fri, 12 Jun 2015 13:41:34 +0000 (UTC)
commit 12325abc89c5df4d85a40efa93e5fa8f42b5f645
Author: Bastien Nocera <hadess hadess net>
Date: Fri Jun 12 14:07:33 2015 +0200
network: Fix all Wi-Fi networks having gear buttons
Only the networks with existing connection should have gear buttons.
This is a regression from 9ffaff74724aafe29a836b472dd682e6156ef00f.
If the widget we add as a stack page isn't visible, the page will not be
shown. As we later add another page with that button, we'd end up
showing that by default.
https://bugzilla.gnome.org/show_bug.cgi?id=750841
panels/network/net-device-wifi.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/network/net-device-wifi.c b/panels/network/net-device-wifi.c
index 6af02ad..59aafd8 100644
--- a/panels/network/net-device-wifi.c
+++ b/panels/network/net-device-wifi.c
@@ -1555,6 +1555,7 @@ make_row (GtkSizeGroup *rows,
gtk_widget_show (button_stack);
widget = gtk_label_new ("");
+ gtk_widget_show (widget);
gtk_container_add (GTK_CONTAINER (button_stack), widget);
widget = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]