Add bottom-toolbar style class to MidoriFindbar
This commit is contained in:
parent
a121d24d35
commit
c12d8f1f25
1 changed files with 4 additions and 0 deletions
|
@ -248,6 +248,10 @@ midori_findbar_init (MidoriFindbar* findbar)
|
||||||
GtkToolItem* toolitem;
|
GtkToolItem* toolitem;
|
||||||
|
|
||||||
gtk_widget_set_name (GTK_WIDGET (findbar), "MidoriFindbar");
|
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_icon_size (GTK_TOOLBAR (findbar), GTK_ICON_SIZE_MENU);
|
||||||
gtk_toolbar_set_style (GTK_TOOLBAR (findbar), GTK_TOOLBAR_BOTH_HORIZ);
|
gtk_toolbar_set_style (GTK_TOOLBAR (findbar), GTK_TOOLBAR_BOTH_HORIZ);
|
||||||
g_signal_connect (findbar, "key-press-event",
|
g_signal_connect (findbar, "key-press-event",
|
||||||
|
|
Loading…
Reference in a new issue