Mercurial > geeqie
comparison src/view_file_list.c @ 555:cca1c3b1b948
Set thumbs_enabled through new function vflist_thumbs_set() instead
of vflist_new().
author | zas_ |
---|---|
date | Sat, 03 May 2008 10:31:37 +0000 |
parents | 92b5a033a279 |
children | d8d61dc4ff52 |
comparison
equal
deleted
inserted
replaced
554:2da72a136070 | 555:cca1c3b1b948 |
---|---|
1979 g_free(vfl->path); | 1979 g_free(vfl->path); |
1980 filelist_free(vfl->list); | 1980 filelist_free(vfl->list); |
1981 g_free(vfl); | 1981 g_free(vfl); |
1982 } | 1982 } |
1983 | 1983 |
1984 ViewFileList *vflist_new(const gchar *path, gint thumbs) | 1984 void vflist_thumbs_set(ViewFileList *vfl, gint enabled) |
1985 { | |
1986 vfl->thumbs_enabled = enabled; | |
1987 } | |
1988 | |
1989 ViewFileList *vflist_new(const gchar *path) | |
1985 { | 1990 { |
1986 ViewFileList *vfl; | 1991 ViewFileList *vfl; |
1987 GtkTreeStore *store; | 1992 GtkTreeStore *store; |
1988 GtkTreeSelection *selection; | 1993 GtkTreeSelection *selection; |
1989 | 1994 |
1996 vfl->list = NULL; | 2001 vfl->list = NULL; |
1997 vfl->click_fd = NULL; | 2002 vfl->click_fd = NULL; |
1998 vfl->select_fd = NULL; | 2003 vfl->select_fd = NULL; |
1999 vfl->sort_method = SORT_NAME; | 2004 vfl->sort_method = SORT_NAME; |
2000 vfl->sort_ascend = TRUE; | 2005 vfl->sort_ascend = TRUE; |
2001 vfl->thumbs_enabled = thumbs; | 2006 vfl->thumbs_enabled = FALSE; |
2002 | 2007 |
2003 vfl->thumbs_running = FALSE; | 2008 vfl->thumbs_running = FALSE; |
2004 vfl->thumbs_count = 0; | 2009 vfl->thumbs_count = 0; |
2005 vfl->thumbs_loader = NULL; | 2010 vfl->thumbs_loader = NULL; |
2006 vfl->thumbs_filedata = NULL; | 2011 vfl->thumbs_filedata = NULL; |