[nautilus] pathbar: additional fix for last commit



commit cb48803516d2fd40950e3a08890240f92384a3ef
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Aug 1 22:21:42 2012 +0200

    pathbar: additional fix for last commit
    
    We were missing to add the up slider width in the LTR case.

 src/nautilus-pathbar.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-pathbar.c b/src/nautilus-pathbar.c
index b09b460..1d89517 100644
--- a/src/nautilus-pathbar.c
+++ b/src/nautilus-pathbar.c
@@ -643,6 +643,9 @@ nautilus_path_bar_size_allocate (GtkWidget     *widget,
                 gtk_widget_set_child_visible (path_bar->priv->up_slider_button, TRUE);
                 gtk_widget_show_all (path_bar->priv->up_slider_button);
 
+		if (direction == GTK_TEXT_DIR_LTR) {
+			down_slider_offset += path_bar->priv->slider_width;
+		}
         } else {
 		needs_reorder |= gtk_widget_get_child_visible (path_bar->priv->up_slider_button) == TRUE;
         	gtk_widget_set_child_visible (path_bar->priv->up_slider_button, FALSE);



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