[file-roller] set the "primary-toolbar" class to the primary toolbar, and the "toolbar" class to the location bar
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller] set the "primary-toolbar" class to the primary toolbar, and the "toolbar" class to the location bar
- Date: Mon, 7 Mar 2011 19:36:16 +0000 (UTC)
commit 3211f1461cba6aabe52a17d950eb3de3f8d0e6ab
Author: Paolo Bacchilega <paobac src gnome org>
Date: Mon Mar 7 19:49:53 2011 +0100
set the "primary-toolbar" class to the primary toolbar, and the "toolbar" class to the location bar
src/fr-window.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/fr-window.c b/src/fr-window.c
index b11532a..151f335 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -5861,6 +5861,7 @@ fr_window_construct (FrWindow *window)
window->priv->toolbar = toolbar = gtk_ui_manager_get_widget (ui, "/ToolBar");
gtk_toolbar_set_show_arrow (GTK_TOOLBAR (toolbar), TRUE);
+ gtk_style_context_add_class (gtk_widget_get_style_context (toolbar), GTK_STYLE_CLASS_PRIMARY_TOOLBAR);
set_action_important (ui, "/ToolBar/Extract_Toolbar");
/* location bar */
@@ -5868,6 +5869,7 @@ fr_window_construct (FrWindow *window)
window->priv->location_bar = gtk_ui_manager_get_widget (ui, "/LocationBar");
gtk_toolbar_set_show_arrow (GTK_TOOLBAR (window->priv->location_bar), FALSE);
gtk_toolbar_set_style (GTK_TOOLBAR (window->priv->location_bar), GTK_TOOLBAR_BOTH_HORIZ);
+ gtk_style_context_add_class (gtk_widget_get_style_context (window->priv->location_bar), GTK_STYLE_CLASS_TOOLBAR);
set_action_important (ui, "/LocationBar/GoBack");
/* current location */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]