[gthumb] reorder the thumbnail list as well
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] reorder the thumbnail list as well
- Date: Sat, 17 Sep 2016 16:48:03 +0000 (UTC)
commit d14be0393101cfe3639cea54890d9c04bf905372
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 96186dd..b3f15cf 100644
--- a/gthumb/gth-browser.c
+++ b/gthumb/gth-browser.c
@@ -3088,7 +3088,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]