gtk+ r21738 - in trunk: . gtk



Author: matthiasc
Date: Fri Oct 31 03:46:00 2008
New Revision: 21738
URL: http://svn.gnome.org/viewvc/gtk+?rev=21738&view=rev

Log:
2008-10-30  Matthias Clasen  <mclasen redhat com>

        Bug 558522 â scroll arrow painted insensitive even though there
        are pages beyond the edge

        gtk/gtknotebook.c (gtk_notebook_real_insert_page): Redraw
        arrows. Pointed out by Christian Persch



Modified:
   trunk/ChangeLog
   trunk/gtk/gtknotebook.c

Modified: trunk/gtk/gtknotebook.c
==============================================================================
--- trunk/gtk/gtknotebook.c	(original)
+++ trunk/gtk/gtknotebook.c	Fri Oct 31 03:46:00 2008
@@ -4128,6 +4128,9 @@
 
   gtk_notebook_update_tab_states (notebook);
 
+  if (notebook->scrollable)
+    gtk_notebook_redraw_arrows (notebook);
+
   gtk_widget_child_notify (child, "tab-expand");
   gtk_widget_child_notify (child, "tab-fill");
   gtk_widget_child_notify (child, "tab-pack");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]