[epiphany] ephy-toolbar: set a style class to the location+reload combo



commit da544577399cfb2f243e0c26515a0dc79163c02e
Author: Xan Lopez <xan igalia com>
Date:   Mon Jan 16 18:22:01 2012 +0100

    ephy-toolbar: set a style class to the location+reload combo
    
    This way it's easier to access from the theme.

 src/ephy-toolbar.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/ephy-toolbar.c b/src/ephy-toolbar.c
index bb707c1..b167f06 100644
--- a/src/ephy-toolbar.c
+++ b/src/ephy-toolbar.c
@@ -129,6 +129,8 @@ ephy_toolbar_constructed (GObject *object)
   location = gtk_action_create_tool_item (action);
   gtk_box_pack_start (GTK_BOX (box), location,
                       TRUE, TRUE, 0);
+  gtk_style_context_add_class (gtk_widget_get_style_context (box),
+                               "location-entry");
 
   /* Reload/Stop */
   tool_button = gtk_button_new ();



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