[eog] window: add the primary-toolbar style to the toolbar
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] window: add the primary-toolbar style to the toolbar
- Date: Tue, 8 Mar 2011 13:51:30 +0000 (UTC)
commit d1da84198d50703006e747b56ef8ba5107f7f3bd
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Mar 7 09:32:38 2011 -0500
window: add the primary-toolbar style to the toolbar
https://bugzilla.gnome.org/show_bug.cgi?id=644117
configure.ac | 2 +-
src/eog-window.c | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8ce65b8..f5f2adf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -83,7 +83,7 @@ GNOME_DOC_INIT
# GNOME Libs
# **********
-GTK_REQUIRED=2.91.7
+GTK_REQUIRED=3.0.2
GLIB_REQUIRED=2.25.15
GNOME_DESKTOP_REQUIRED=2.91.2
GDKPIXBUF_REQUIRED=2.4.0
diff --git a/src/eog-window.c b/src/eog-window.c
index f108fd1..397667c 100644
--- a/src/eog-window.c
+++ b/src/eog-window.c
@@ -4360,6 +4360,8 @@ eog_window_construct_ui (EogWindow *window)
"ui-manager", priv->ui_mgr,
"model", eog_application_get_toolbars_model (EOG_APP),
NULL));
+ gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (priv->toolbar)),
+ GTK_STYLE_CLASS_PRIMARY_TOOLBAR);
egg_editable_toolbar_show (EGG_EDITABLE_TOOLBAR (priv->toolbar),
"Toolbar");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]