diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2012-08-01 22:21:42 +0200 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2012-08-01 22:21:42 +0200 |
commit | cb48803516d2fd40950e3a08890240f92384a3ef (patch) | |
tree | c4cfa67153ed2d52784fd5d49531eadb130371c3 /src/nautilus-pathbar.c | |
parent | 71db3de604d85f33236222864b9e688b2248c4d4 (diff) | |
download | nautilus-cb48803516d2fd40950e3a08890240f92384a3ef.tar.gz |
pathbar: additional fix for last commit
We were missing to add the up slider width in the LTR case.
Diffstat (limited to 'src/nautilus-pathbar.c')
-rw-r--r-- | 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 b09b46022..1d89517c4 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); |