[Xfce4-commits] [apps/ristretto] 01/01: Update thumbnail bar on changing the sorting order
noreply at xfce.org
noreply at xfce.org
Fri Jul 12 19:03:25 CEST 2019
This is an automated email from the git hooks/post-receive script.
f 2 4 0 4 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 apps/ristretto.
commit 812cc0ffb0a686167f4b005e42e22c4156ffe889
Author: Igor <f2404 at yandex.ru>
Date: Fri Jul 12 13:02:44 2019 -0400
Update thumbnail bar on changing the sorting order
Fixes bug #10246
---
src/main_window.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/main_window.c b/src/main_window.c
index 745792c..0e4e09f 100644
--- a/src/main_window.c
+++ b/src/main_window.c
@@ -2171,6 +2171,10 @@ cb_rstto_main_window_sorting_function_changed (GtkRadioAction *action, GtkRadioA
}
break;
}
+
+ /* update the thumbnail bar to reflect the new sorting order */
+ rstto_icon_bar_set_model (RSTTO_ICON_BAR (window->priv->thumbnailbar), NULL);
+ rstto_icon_bar_set_model (RSTTO_ICON_BAR (window->priv->thumbnailbar), GTK_TREE_MODEL (window->priv->image_list));
}
static void
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list