aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2006-12-04 02:47:09 +0000
committerChristian Grothoff <christian@grothoff.org>2006-12-04 02:47:09 +0000
commit518a49560dd870f08660956450e22243b720d72e (patch)
tree5bb6f8eceb1c64cb94fc746dcb6c02130c42bd88
parent39ecb7900c0d45d8fb56e0ae62ad924421f184b4 (diff)
downloadgnunet-gtk-518a49560dd870f08660956450e22243b720d72e.tar.gz
gnunet-gtk-518a49560dd870f08660956450e22243b720d72e.zip
fix
-rw-r--r--src/plugins/fs/fs.h1
-rw-r--r--src/plugins/fs/search.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/fs/fs.h b/src/plugins/fs/fs.h
index 899f57e9..95ec2cbd 100644
--- a/src/plugins/fs/fs.h
+++ b/src/plugins/fs/fs.h
@@ -57,6 +57,7 @@ enum {
57 SEARCH_URI, 57 SEARCH_URI,
58 SEARCH_META, 58 SEARCH_META,
59 SEARCH_CELL_BG_COLOR, 59 SEARCH_CELL_BG_COLOR,
60 SEARCH_CELL_FG_COLOR,
60 SEARCH_INTERNAL, 61 SEARCH_INTERNAL,
61 SEARCH_INTERNAL_PARENT, 62 SEARCH_INTERNAL_PARENT,
62 SEARCH_NUM, 63 SEARCH_NUM,
diff --git a/src/plugins/fs/search.c b/src/plugins/fs/search.c
index 386c6297..74e47af9 100644
--- a/src/plugins/fs/search.c
+++ b/src/plugins/fs/search.c
@@ -124,6 +124,7 @@ void addEntryToSearchTree(SearchList * searchContext,
124 SEARCH_URI, ECRS_dupUri(info->uri), 124 SEARCH_URI, ECRS_dupUri(info->uri),
125 SEARCH_META, ECRS_dupMetaData(info->meta), 125 SEARCH_META, ECRS_dupMetaData(info->meta),
126 SEARCH_CELL_BG_COLOR, "white", 126 SEARCH_CELL_BG_COLOR, "white",
127 SEARCH_CELL_FG_COLOR, "black",
127 SEARCH_INTERNAL, searchContext, 128 SEARCH_INTERNAL, searchContext,
128 SEARCH_INTERNAL_PARENT, downloadParent, 129 SEARCH_INTERNAL_PARENT, downloadParent,
129 -1); 130 -1);
@@ -235,6 +236,7 @@ fs_search_started(struct FSUI_SearchList * fsui_list,
235 G_TYPE_POINTER, /* url */ 236 G_TYPE_POINTER, /* url */
236 G_TYPE_POINTER, /* meta */ 237 G_TYPE_POINTER, /* meta */
237 G_TYPE_STRING, /* bg-color */ 238 G_TYPE_STRING, /* bg-color */
239 G_TYPE_STRING, /* fg-color */
238 G_TYPE_POINTER, /* internal: search list */ 240 G_TYPE_POINTER, /* internal: search list */
239 G_TYPE_POINTER); /* internal: download parent list */ 241 G_TYPE_POINTER); /* internal: download parent list */
240 242
@@ -271,6 +273,7 @@ fs_search_started(struct FSUI_SearchList * fsui_list,
271 renderer, 273 renderer,
272 "text", SEARCH_HSIZE, 274 "text", SEARCH_HSIZE,
273 "cell-background", SEARCH_CELL_BG_COLOR, 275 "cell-background", SEARCH_CELL_BG_COLOR,
276 "forground", SEARCH_CELL_FG_COLOR,
274 NULL); 277 NULL);
275 column = gtk_tree_view_get_column(list->treeview, 278 column = gtk_tree_view_get_column(list->treeview,
276 col - 1); 279 col - 1);