summaryrefslogtreecommitdiff
path: root/src/nautilus-toolbar.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2011-03-08 21:15:03 -0500
committerCosimo Cecchi <cosimoc@gnome.org>2011-03-08 21:15:38 -0500
commite021dd0f9c73c4cbf6e8e00f1ca6863c99a7056c (patch)
tree88d02d78a1695e297982ba08f73541fbe4d683f0 /src/nautilus-toolbar.c
parenteb340743b260def298ed64a45d2b6112f7c71589 (diff)
downloadnautilus-e021dd0f9c73c4cbf6e8e00f1ca6863c99a7056c.tar.gz
toolbar: use a raised button for Search
Diffstat (limited to 'src/nautilus-toolbar.c')
-rw-r--r--src/nautilus-toolbar.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nautilus-toolbar.c b/src/nautilus-toolbar.c
index c6c444185..4f7898e9b 100644
--- a/src/nautilus-toolbar.c
+++ b/src/nautilus-toolbar.c
@@ -86,7 +86,7 @@ nautilus_toolbar_constructed (GObject *obj)
{
NautilusToolbar *self = NAUTILUS_TOOLBAR (obj);
GtkToolItem *item;
- GtkWidget *hbox, *toolbar;
+ GtkWidget *hbox, *toolbar, *search;
GtkStyleContext *context;
const gchar *ui;
@@ -107,6 +107,9 @@ nautilus_toolbar_constructed (GObject *obj)
context = gtk_widget_get_style_context (toolbar);
gtk_style_context_add_class (context, GTK_STYLE_CLASS_PRIMARY_TOOLBAR);
+ search = gtk_ui_manager_get_widget (self->priv->ui_manager, "/Toolbar/Search");
+ gtk_style_context_add_class (gtk_widget_get_style_context (search), GTK_STYLE_CLASS_RAISED);
+
gtk_box_pack_start (GTK_BOX (self), self->priv->toolbar, TRUE, TRUE, 0);
gtk_widget_show_all (self->priv->toolbar);