[gtk+] Fix a redraw problem with action widgets



commit 833b9b42cc1fb0237e9d9fbf1324ec3a15cbdbc3
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jan 18 14:04:49 2010 -0500

    Fix a redraw problem with action widgets
    
    Fixes bug 603245.

 gtk/gtknotebook.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index e41f4e7..ef9fba5 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -5276,7 +5276,7 @@ gtk_notebook_calculate_shown_tabs (GtkNotebook *notebook,
 				  remaining_space, STEP_NEXT);
 	}
 
-      if (tab_space <= 0 || *remaining_space < 0)
+      if (tab_space <= 0 || *remaining_space <= 0)
 	{
 	  /* show 1 tab */
 	  notebook->first_tab = notebook->focus_tab;



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