[gthumb] fixed the style of the main window
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] fixed the style of the main window
- Date: Tue, 25 Oct 2011 14:54:09 +0000 (UTC)
commit c335ead2257725ce9e3e1a881cc3f00f745b1d65
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Oct 16 13:25:28 2011 +0200
fixed the style of the main window
gthumb/gth-window.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gthumb/gth-window.c b/gthumb/gth-window.c
index 5ab70d5..ae87564 100644
--- a/gthumb/gth-window.c
+++ b/gthumb/gth-window.c
@@ -67,6 +67,7 @@ gth_window_set_n_pages (GthWindow *self,
gtk_container_add (GTK_CONTAINER (self), self->priv->table);
self->priv->notebook = gtk_notebook_new ();
+ gtk_style_context_remove_class (gtk_widget_get_style_context (self->priv->notebook), GTK_STYLE_CLASS_NOTEBOOK);
gtk_notebook_set_show_tabs (GTK_NOTEBOOK (self->priv->notebook), FALSE);
gtk_notebook_set_show_border (GTK_NOTEBOOK (self->priv->notebook), FALSE);
gtk_widget_show (self->priv->notebook);
@@ -318,6 +319,7 @@ gth_window_attach_toolbar (GthWindow *window,
g_return_if_fail (GTK_IS_WIDGET (child));
_gtk_container_remove_children (GTK_CONTAINER (window->priv->toolbars[page]), NULL, NULL);
+ gtk_style_context_add_class (gtk_widget_get_style_context (child), GTK_STYLE_CLASS_PRIMARY_TOOLBAR);
gtk_container_add (GTK_CONTAINER (window->priv->toolbars[page]), child);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]