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



commit 200342771d3e8228f027b70f31a6a32a9cb4a2be
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]