Mercurial > geeqie.yaz
diff src/view_file_list.c @ 333:767b53cd9ab7
Rename thumbnails related options.
author | zas_ |
---|---|
date | Sat, 12 Apr 2008 09:41:44 +0000 |
parents | b16b9b8979e5 |
children | df868b947aa0 |
line wrap: on
line diff
--- a/src/view_file_list.c Sat Apr 12 09:12:37 2008 +0000 +++ b/src/view_file_list.c Sat Apr 12 09:41:44 2008 +0000 @@ -1225,7 +1225,7 @@ thumb_loader_free(vfl->thumbs_loader); - vfl->thumbs_loader = thumb_loader_new(options->thumb_max_width, options->thumb_max_height); + vfl->thumbs_loader = thumb_loader_new(options->thumbnails.max_width, options->thumbnails.max_height); thumb_loader_set_callbacks(vfl->thumbs_loader, vflist_thumb_done_cb, vflist_thumb_error_cb, @@ -1633,14 +1633,14 @@ column = gtk_tree_view_get_column(GTK_TREE_VIEW(listview), FILE_COLUMN_THUMB - 1); if (!column) return; - gtk_tree_view_column_set_fixed_width(column, ((thumb) ? options->thumb_max_width : 4) + 10); + gtk_tree_view_column_set_fixed_width(column, ((thumb) ? options->thumbnails.max_width : 4) + 10); list = gtk_tree_view_column_get_cell_renderers(column); if (!list) return; cell = list->data; g_list_free(list); - g_object_set(G_OBJECT(cell), "height", (thumb) ? options->thumb_max_height : -1, NULL); + g_object_set(G_OBJECT(cell), "height", (thumb) ? options->thumbnails.max_height : -1, NULL); gtk_tree_view_columns_autosize(GTK_TREE_VIEW(listview)); }