[gnome-control-center] network: Fix hover highlight in the wifi list



commit 4151cf76b04f54d2591d9bef7ae10ac945493cf2
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Aug 30 23:37:19 2013 -0400

    network: Fix hover highlight in the wifi list
    
    Setting a margin on the list box row widget causes the highlight
    not to extend to the edge of the list. Instead, set the margin
    on the box inside the row.

 panels/network/net-device-wifi.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/panels/network/net-device-wifi.c b/panels/network/net-device-wifi.c
index ca66788..efb3796 100644
--- a/panels/network/net-device-wifi.c
+++ b/panels/network/net-device-wifi.c
@@ -1498,11 +1498,11 @@ make_row (GtkSizeGroup   *rows,
         }
 
         row = gtk_list_box_row_new ();
-        gtk_widget_set_margin_left (row, 12);
-        gtk_widget_set_margin_right (row, 12);
         gtk_size_group_add_widget (rows, row);
 
         row_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
+        gtk_widget_set_margin_left (row_box, 12);
+        gtk_widget_set_margin_right (row_box, 12);
         gtk_container_add (GTK_CONTAINER (row), row_box);
 
         widget = NULL;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]