[gthumb/gthumb-3-4] reorder the thumbnail list as well



commit 8a8122d2952e040f6460804470e6410c99314fe6
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sat Sep 17 18:17:44 2016 +0200

    reorder the thumbnail list as well

 gthumb/gth-browser.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-browser.c b/gthumb/gth-browser.c
index 76312ef..68ba822 100644
--- a/gthumb/gth-browser.c
+++ b/gthumb/gth-browser.c
@@ -3090,7 +3090,8 @@ _gth_browser_change_file_list_order (GthBrowser *browser,
 {
        g_file_info_set_attribute_string (browser->priv->location->info, "sort::type", "general::unsorted");
        g_file_info_set_attribute_boolean (browser->priv->location->info, "sort::inverse", FALSE);
-       gth_file_store_reorder (gth_browser_get_file_store (browser), new_order);
+       gth_file_store_reorder (GTH_FILE_STORE (gth_file_view_get_model (GTH_FILE_VIEW 
(gth_browser_get_file_list_view (browser)))), new_order);
+       gth_file_store_reorder (GTH_FILE_STORE (gth_file_view_get_model (GTH_FILE_VIEW 
(gth_browser_get_thumbnail_list_view (browser)))), new_order);
        _gth_browser_update_current_file_position (browser);
        gth_browser_update_title (browser);
 }


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