[gthumb/gthumb-3-4] organize files: use a fixed style for the thumbnail list



commit 52b9afe7c39f68f8bcc767dd3f56f54d6b14a86a
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Wed Aug 17 17:04:51 2016 +0200

    organize files: use a fixed style for the thumbnail list

 extensions/catalogs/gth-organize-task.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/extensions/catalogs/gth-organize-task.c b/extensions/catalogs/gth-organize-task.c
index 9fa1f2d..acf33f2 100644
--- a/extensions/catalogs/gth-organize-task.c
+++ b/extensions/catalogs/gth-organize-task.c
@@ -807,7 +807,10 @@ gth_organize_task_init (GthOrganizeTask *self)
        g_object_unref (icon);
 
        self->priv->file_list = gth_file_list_new (gth_grid_view_new (), GTH_FILE_LIST_MODE_NORMAL, FALSE);
+       gth_file_list_set_filter (GTH_FILE_LIST (self->priv->file_list), NULL);
        gth_file_list_set_caption (GTH_FILE_LIST (self->priv->file_list), "standard::display-name");
+       gth_file_list_set_thumb_size (GTH_FILE_LIST (self->priv->file_list), 128);
+       gth_file_list_set_ignore_hidden (GTH_FILE_LIST (self->priv->file_list), FALSE);
        gtk_widget_show (self->priv->file_list);
        gtk_box_pack_start (GTK_BOX (GET_WIDGET ("preview_box")), self->priv->file_list, TRUE, TRUE, 0);
 


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