[goobox] set the primary_toolbar class to the main toolbar
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goobox] set the primary_toolbar class to the main toolbar
- Date: Thu, 2 Jun 2011 17:26:04 +0000 (UTC)
commit a53c881473fbe379c60ca58fdeed422384c394d1
Author: Paolo Bacchilega <paobac src gnome org>
Date: Thu Jun 2 17:21:57 2011 +0200
set the primary_toolbar class to the main toolbar
src/goo-window.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/goo-window.c b/src/goo-window.c
index 7a38fae..cfcd5cd 100644
--- a/src/goo-window.c
+++ b/src/goo-window.c
@@ -2367,6 +2367,7 @@ goo_window_construct (GooWindow *window,
gth_window_attach (GTH_WINDOW (window), menubar, GTH_WINDOW_MENUBAR);
window->priv->toolbar = toolbar = gtk_ui_manager_get_widget (ui, "/ToolBar");
+ gtk_style_context_add_class (gtk_widget_get_style_context (window->priv->toolbar), GTK_STYLE_CLASS_PRIMARY_TOOLBAR);
gtk_toolbar_set_show_arrow (GTK_TOOLBAR (toolbar), TRUE);
gth_window_attach_toolbar (GTH_WINDOW (window), 0, window->priv->toolbar);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]