From: Christian Dywan Date: Wed, 9 Nov 2011 20:47:14 +0000 (+0100) Subject: Add bottom-toolbar style class to MidoriFindbar X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c12d8f1f25358a0f8f2d64d7eb245d82002364dd;p=midori Add bottom-toolbar style class to MidoriFindbar --- 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",