From: Cosimo Cecchi Date: Mon, 7 Mar 2011 14:35:31 +0000 (-0500) Subject: window: use the primary-toolbar style class for the window toolbar X-Git-Tag: EVINCE_2_91_92~32 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?p=evince.git;a=commitdiff_plain;h=0e75517907cc83a9d7d3ac4c0b8413da8d1e5782 window: use the primary-toolbar style class for the window toolbar https://bugzilla.gnome.org/show_bug.cgi?id=644118 --- diff --git a/configure.ac b/configure.ac index 005b6758..028bbe3e 100644 --- a/configure.ac +++ b/configure.ac @@ -125,7 +125,7 @@ dnl Specify required versions of dependencies CAIRO_REQUIRED=1.10.0 GLIB_REQUIRED=2.25.11 KEYRING_REQUIRED=2.22.0 -GTK_REQUIRED=3.0.0 +GTK_REQUIRED=3.0.2 NAUTILUS_REQUIRED=2.91.4 AC_SUBST([GLIB_REQUIRED]) diff --git a/shell/ev-window.c b/shell/ev-window.c index 013ae3d3..63eb87fa 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -7110,6 +7110,10 @@ ev_window_init (EvWindow *ev_window) NULL)); g_object_unref (toolbars_model); + gtk_style_context_add_class + (gtk_widget_get_style_context (GTK_WIDGET (ev_window->priv->toolbar)), + GTK_STYLE_CLASS_PRIMARY_TOOLBAR); + egg_editable_toolbar_show (EGG_EDITABLE_TOOLBAR (ev_window->priv->toolbar), "DefaultToolBar"); gtk_box_pack_start (GTK_BOX (ev_window->priv->main_box),