diff src/search.c @ 845:06929cbcd796

renamed fd->pixbuf to fd->thumb_pixbuf
author nadvornik
date Sat, 21 Jun 2008 11:05:55 +0000
parents 9bd49e725ad3
children cb3b6238782a
line wrap: on
line diff
--- a/src/search.c	Wed Jun 18 22:26:52 2008 +0000
+++ b/src/search.c	Sat Jun 21 11:05:55 2008 +0000
@@ -495,7 +495,7 @@
 	gtk_list_store_set(store, &iter,
 				SEARCH_COLUMN_POINTER, mfd,
 				SEARCH_COLUMN_RANK, mfd->rank,
-				SEARCH_COLUMN_THUMB, fd->pixbuf,
+				SEARCH_COLUMN_THUMB, fd->thumb_pixbuf,
 				SEARCH_COLUMN_NAME, fd->name,
 				SEARCH_COLUMN_SIZE, text_size,
 				SEARCH_COLUMN_DATE, text_from_time(fd->date),
@@ -710,7 +710,7 @@
 		if (search_result_find_row(sd, fd, &iter_n) >= 0) iter = &iter_n;
 		}
 
-	if (iter) gtk_list_store_set(store, iter, SEARCH_COLUMN_THUMB, fd->pixbuf, -1);
+	if (iter) gtk_list_store_set(store, iter, SEARCH_COLUMN_THUMB, fd->thumb_pixbuf, -1);
 }
 
 static void search_result_thumb_do(SearchData *sd)
@@ -758,9 +758,9 @@
 
 		length++;
 		gtk_tree_model_get(store, &iter, SEARCH_COLUMN_POINTER, &mfd, SEARCH_COLUMN_THUMB, &pixbuf, -1);
-		if (pixbuf || mfd->fd->pixbuf)
+		if (pixbuf || mfd->fd->thumb_pixbuf)
 			{
-			if (!pixbuf) gtk_list_store_set(GTK_LIST_STORE(store), &iter, SEARCH_COLUMN_THUMB, mfd->fd->pixbuf, -1);
+			if (!pixbuf) gtk_list_store_set(GTK_LIST_STORE(store), &iter, SEARCH_COLUMN_THUMB, mfd->fd->thumb_pixbuf, -1);
 			row++;
 			mfd = NULL;
 			}
@@ -1407,9 +1407,9 @@
 		}
 
 	if (sd->thumb_enable &&
-	    sd->click_fd && sd->click_fd->pixbuf)
+	    sd->click_fd && sd->click_fd->thumb_pixbuf)
 		{
-		dnd_set_drag_icon(widget, context, sd->click_fd->pixbuf, search_result_selection_count(sd, NULL));
+		dnd_set_drag_icon(widget, context, sd->click_fd->thumb_pixbuf, search_result_selection_count(sd, NULL));
 		}
 }