[gthumb] organize files: use a fixed style for the thumbnail list



commit cc96ef5c0552dd9ff37ca908fde1f0b093e16e70
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Mon Aug 15 14:36:30 2016 +0200

    organize files: use a fixed style for the thumbnail list

 extensions/catalogs/gth-organize-task.c |    3 +++
 gthumb/resources/gthumb.css             |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/extensions/catalogs/gth-organize-task.c b/extensions/catalogs/gth-organize-task.c
index a42afe5..fd364c7 100644
--- a/extensions/catalogs/gth-organize-task.c
+++ b/extensions/catalogs/gth-organize-task.c
@@ -834,7 +834,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_widget_set_size_request (self->priv->file_list, 350, -1);
        gtk_box_pack_start (GTK_BOX (GET_WIDGET ("preview_box")), self->priv->file_list, TRUE, TRUE, 0);
diff --git a/gthumb/resources/gthumb.css b/gthumb/resources/gthumb.css
index 2c7e05a..a7d569d 100644
--- a/gthumb/resources/gthumb.css
+++ b/gthumb/resources/gthumb.css
@@ -160,5 +160,5 @@ GthToolbox .header-bar,
 
 .gthumb-circular-button {
        border-radius: 20px;
-       outline-radius: 20px;
+       -gtk-outline-radius: 20px;
 }


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