Commit fe888cb7 authored by Volker Sobek's avatar Volker Sobek Committed by Carlos Garcia Campos

evince-previewer: Use primary-toolbar style class

Use GTK_STYLE_CLASS_PRIMARY_TOOLBAR for the toolbar in
evince-previewer.

https://bugzilla.gnome.org/show_bug.cgi?id=675310
parent 48e937cc
......@@ -599,6 +599,8 @@ ev_previewer_window_constructor (GType type,
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
toolbar = gtk_ui_manager_get_widget (window->ui_manager, "/PreviewToolbar");
gtk_style_context_add_class (gtk_widget_get_style_context (toolbar),
GTK_STYLE_CLASS_PRIMARY_TOOLBAR);
gtk_box_pack_start (GTK_BOX (vbox), toolbar, FALSE, FALSE, 0);
gtk_widget_show (toolbar);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment