[gnome-control-center] network: Make only the list background white
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] network: Make only the list background white
- Date: Wed, 8 Aug 2012 05:15:01 +0000 (UTC)
commit 478c6af97d6b1f99134ec9d864aa19b430eb4ca0
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Aug 8 01:14:58 2012 -0400
network: Make only the list background white
panels/network/net-device-wifi.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/panels/network/net-device-wifi.c b/panels/network/net-device-wifi.c
index 5e6cded..44cdce6 100644
--- a/panels/network/net-device-wifi.c
+++ b/panels/network/net-device-wifi.c
@@ -1837,6 +1837,7 @@ net_device_wifi_init (NetDeviceWifi *device_wifi)
GtkTreeSortable *sortable;
GtkTreeViewColumn *column;
GtkCellArea *area;
+ GdkRGBA transparent = { 0.0, 0.0, 0.0, 0.0 };
device_wifi->priv = NET_DEVICE_WIFI_GET_PRIVATE (device_wifi);
@@ -1988,4 +1989,8 @@ net_device_wifi_init (NetDeviceWifi *device_wifi)
"switch_hotspot_off"));
g_signal_connect (widget, "notify::active",
G_CALLBACK (switch_hotspot_changed_cb), device_wifi);
+
+ widget = GTK_WIDGET (gtk_builder_get_object (device_wifi->priv->builder,
+ "viewport_list"));
+ gtk_widget_override_background_color (widget, 0, &transparent);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]