Mercurial > geeqie
diff src/view_file_icon.c @ 845:06929cbcd796
renamed fd->pixbuf to fd->thumb_pixbuf
author | nadvornik |
---|---|
date | Sat, 21 Jun 2008 11:05:55 +0000 |
parents | add46f9c895c |
children | 6e521e987105 |
line wrap: on
line diff
--- a/src/view_file_icon.c Wed Jun 18 22:26:52 2008 +0000 +++ b/src/view_file_icon.c Sat Jun 21 11:05:55 2008 +0000 @@ -528,7 +528,7 @@ tip_unschedule(vf); - if (VFICON_INFO(vf, click_id) && VFICON_INFO(vf, click_id)->fd->pixbuf) + if (VFICON_INFO(vf, click_id) && VFICON_INFO(vf, click_id)->fd->thumb_pixbuf) { gint items; @@ -537,7 +537,7 @@ else items = 1; - dnd_set_drag_icon(widget, context, VFICON_INFO(vf, click_id)->fd->pixbuf, items); + dnd_set_drag_icon(widget, context, VFICON_INFO(vf, click_id)->fd->thumb_pixbuf, items); } } @@ -1806,7 +1806,7 @@ FileData *fd = id->fd; work = work->next; - if (fd->pixbuf) done++; + if (fd->thumb_pixbuf) done++; count++; } DEBUG_1("thumb progress: %d of %d", done, count); @@ -1901,7 +1901,7 @@ while (!fd && list) { IconData *id = list->data; - if (id && !id->fd->pixbuf) fd = id->fd; + if (id && !id->fd->thumb_pixbuf) fd = id->fd; list = list->next; } @@ -1920,7 +1920,7 @@ FileData *fd_p = id->fd; work = work->next; - if (!fd_p->pixbuf) fd = fd_p; + if (!fd_p->thumb_pixbuf) fd = fd_p; } } @@ -2263,7 +2263,7 @@ { if (id) { - g_object_set(cell, "pixbuf", id->fd->pixbuf, + g_object_set(cell, "pixbuf", id->fd->thumb_pixbuf, "text", id->fd->name, "cell-background-gdk", &color_bg, "cell-background-set", TRUE,