]> www.fi.muni.cz Git - evince.git/commitdiff
window: use the primary-toolbar style class for the window toolbar
authorCosimo Cecchi <cosimoc@gnome.org>
Mon, 7 Mar 2011 14:35:31 +0000 (09:35 -0500)
committerCosimo Cecchi <cosimoc@gnome.org>
Mon, 7 Mar 2011 16:37:00 +0000 (11:37 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=644118

configure.ac
shell/ev-window.c

index 005b6758b12ced5a2beb6939b929a45bba2a2f0a..028bbe3e4d15d1139998408b395d00aa1050e064 100644 (file)
@@ -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])
index 013ae3d36654d9dfc9b1278932388dcafa1de709..63eb87fae4f39baef155bce6bee204b8b5402f6b 100644 (file)
@@ -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),