From c12d8f1f25358a0f8f2d64d7eb245d82002364dd Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Wed, 9 Nov 2011 21:47:14 +0100 Subject: [PATCH] Add bottom-toolbar style class to MidoriFindbar --- toolbars/midori-findbar.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/toolbars/midori-findbar.c b/toolbars/midori-findbar.c index c3296809..3aa9191c 100644 --- a/toolbars/midori-findbar.c +++ b/toolbars/midori-findbar.c @@ -248,6 +248,10 @@ midori_findbar_init (MidoriFindbar* findbar) GtkToolItem* toolitem; gtk_widget_set_name (GTK_WIDGET (findbar), "MidoriFindbar"); + #if GTK_CHECK_VERSION (3, 0, 0) + gtk_style_context_add_class ( + gtk_widget_get_style_context (GTK_WIDGET (findbar)), "bottom-toolbar"); + #endif gtk_toolbar_set_icon_size (GTK_TOOLBAR (findbar), GTK_ICON_SIZE_MENU); gtk_toolbar_set_style (GTK_TOOLBAR (findbar), GTK_TOOLBAR_BOTH_HORIZ); g_signal_connect (findbar, "key-press-event", -- 2.39.5