[gtk+/gtk-3-0] notebook: don't forget to reset the style after setting show-tabs
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-0] notebook: don't forget to reset the style after setting show-tabs
- Date: Thu, 17 Mar 2011 21:27:13 +0000 (UTC)
commit 0bc9efd230c359e2becff818739ba6310396759d
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Mar 17 17:26:15 2011 -0400
notebook: don't forget to reset the style after setting show-tabs
This fixes a regression after commit
b04f4c536aeab4281a9f0117e67accae19d691b9
gtk/gtknotebook.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 563b1ab..9158788 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -7127,6 +7127,7 @@ gtk_notebook_set_show_tabs (GtkNotebook *notebook,
gtk_widget_set_child_visible (priv->action_widget[i], show_tabs);
}
+ gtk_widget_reset_style (GTK_WIDGET (notebook));
gtk_widget_queue_resize (GTK_WIDGET (notebook));
g_object_notify (G_OBJECT (notebook), "show-tabs");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]