Mercurial > geeqie
comparison src/view_file_list.c @ 770:842c15317bdf
fixed thumb index (thumbnails are shown again)
author | nadvornik |
---|---|
date | Fri, 30 May 2008 20:13:16 +0000 |
parents | 110462fdf31b |
children | 24726eddb252 |
comparison
equal
deleted
inserted
replaced
769:110462fdf31b | 770:842c15317bdf |
---|---|
1448 { | 1448 { |
1449 GtkTreeViewColumn *column; | 1449 GtkTreeViewColumn *column; |
1450 GtkCellRenderer *cell; | 1450 GtkCellRenderer *cell; |
1451 GList *list; | 1451 GList *list; |
1452 | 1452 |
1453 column = gtk_tree_view_get_column(GTK_TREE_VIEW(listview), FILE_COLUMN_THUMB - 1); | 1453 column = gtk_tree_view_get_column(GTK_TREE_VIEW(listview), 0); /* first column is thumbnail */ |
1454 if (!column) return; | 1454 if (!column) return; |
1455 | 1455 |
1456 gtk_tree_view_column_set_fixed_width(column, ((thumb) ? options->thumbnails.max_width : 4) + 10); | 1456 gtk_tree_view_column_set_fixed_width(column, ((thumb) ? options->thumbnails.max_width : 4) + 10); |
1457 | 1457 |
1458 list = gtk_tree_view_column_get_cell_renderers(column); | 1458 list = gtk_tree_view_column_get_cell_renderers(column); |