[gtranslator] window: set the primary toolbar style class on the toolbar
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtranslator] window: set the primary toolbar style class on the toolbar
- Date: Sun, 13 Mar 2011 16:15:14 +0000 (UTC)
commit 6b424dfa14ca02c60e43287e6dc52b0b97312f77
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Sun Mar 13 17:15:21 2011 +0100
window: set the primary toolbar style class on the toolbar
src/gtr-window.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gtr-window.c b/src/gtr-window.c
index 4583d64..9501d0b 100644
--- a/src/gtr-window.c
+++ b/src/gtr-window.c
@@ -1722,6 +1722,9 @@ gtr_window_draw (GtrWindow * window)
"model",
_gtr_application_get_toolbars_model (GTR_APP), NULL));
+ gtk_style_context_add_class (gtk_widget_get_style_context (priv->toolbar),
+ GTK_STYLE_CLASS_PRIMARY_TOOLBAR);
+
egg_editable_toolbar_show (EGG_EDITABLE_TOOLBAR (priv->toolbar),
"DefaultToolBar");
gtk_box_pack_start (GTK_BOX (priv->main_box),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]