[Xfce4-commits] [xfce/thunar] 01/02: Temporary disabled auto-scroll feature of pathbar, in order to prevent seg.faults. A proper fix is in work and will be applied soon.
noreply at xfce.org
noreply at xfce.org
Fri Nov 10 21:36:28 CET 2017
This is an automated email from the git hooks/post-receive script.
a l e x p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/thunar.
commit 00ed70512ae514e94475796cd583d04c6b76c192
Author: Alexander Schwinn <acs82 at gmx.de>
Date: Fri Nov 10 21:35:17 2017 +0100
Temporary disabled auto-scroll feature of pathbar, in order to prevent
seg.faults. A proper fix is in work and will be applied soon.
---
thunar/thunar-location-buttons.c | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/thunar/thunar-location-buttons.c b/thunar/thunar-location-buttons.c
index 53da5cd..36847a8 100644
--- a/thunar/thunar-location-buttons.c
+++ b/thunar/thunar-location-buttons.c
@@ -1125,10 +1125,13 @@ thunar_location_buttons_clicked (ThunarLocationButton *button,
/* check if the button is visible on the button bar */
if (!gtk_widget_get_child_visible (GTK_WIDGET (button)))
{
- buttons->scroll_count = 0;
- /* scroll left till the button is visible */
- while(!gtk_widget_get_child_visible (GTK_WIDGET (button)) && buttons->scroll_count < g_list_length(buttons->list) )
- thunar_location_buttons_scroll_left (buttons->left_slider, buttons);
+// ##########
+// FIXME: The auto-scroll feature currently is disabled, since on horizontal small windows it can produce graphical glitches and even seg.faults. To be fixed.
+// ##########
+// buttons->scroll_count = 0;
+// /* scroll left till the button is visible */
+// while(!gtk_widget_get_child_visible (GTK_WIDGET (button)) && buttons->scroll_count < g_list_length(buttons->list) )
+// thunar_location_buttons_scroll_left (buttons->left_slider, buttons);
}
/* update all buttons */
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list