[gtk+/gtk-style-context: 202/540] GtkNotebook: invert tab drawing order so region flags are set correctly.



commit 42c097163f35717bd763c15c3f77c25604eb11c2
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Aug 23 18:00:06 2010 +0200

    GtkNotebook: invert tab drawing order so region flags are set correctly.

 gtk/gtknotebook.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 0ed23dc..3ce43ee 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -4967,7 +4967,7 @@ gtk_notebook_paint (GtkWidget    *widget,
 	    gap_x = priv->cur_page->allocation.x - allocation.x - border_width;
 
 	  gap_width = priv->cur_page->allocation.width;
-	  step = is_rtl ? STEP_NEXT : STEP_PREV;
+	  step = is_rtl ? STEP_PREV : STEP_NEXT;
 	  break;
 	case GTK_POS_LEFT:
 	case GTK_POS_RIGHT:



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