diff options
Diffstat (limited to 'src/plugins/fs/fs.c')
-rw-r--r-- | src/plugins/fs/fs.c | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/src/plugins/fs/fs.c b/src/plugins/fs/fs.c index 782b07da..f89980f5 100644 --- a/src/plugins/fs/fs.c +++ b/src/plugins/fs/fs.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet. | 2 | This file is part of GNUnet. |
3 | (C) 2005, 2006 Christian Grothoff (and other contributing authors) | 3 | (C) 2005, 2006, 2007 Christian Grothoff (and other contributing authors) |
4 | 4 | ||
5 | GNUnet is free software; you can redistribute it and/or modify | 5 | GNUnet is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published | 6 | it under the terms of the GNU General Public License as published |
@@ -431,10 +431,21 @@ static void fs_summary_start() { | |||
431 | GtkTreeViewColumn * column; | 431 | GtkTreeViewColumn * column; |
432 | int col; | 432 | int col; |
433 | 433 | ||
434 | /* search namespace selection setup */ | 434 | /* keyword list setup */ |
435 | searchCB | 435 | searchCB |
436 | = GTK_COMBO_BOX_ENTRY(glade_xml_get_widget(getMainXML(), | 436 | = GTK_COMBO_BOX_ENTRY(glade_xml_get_widget(getMainXML(), |
437 | "fssearchKeywordComboBoxEntry")); | 437 | "fssearchKeywordComboBoxEntry")); |
438 | model = gtk_list_store_new(1, | ||
439 | G_TYPE_STRING /* search string*/ ); | ||
440 | gtk_combo_box_set_model(GTK_COMBO_BOX(searchCB), | ||
441 | GTK_TREE_MODEL(model)); | ||
442 | gtk_combo_box_entry_set_text_column(searchCB, | ||
443 | 0); | ||
444 | |||
445 | /* search namespace selection setup */ | ||
446 | searchCB | ||
447 | = GTK_COMBO_BOX_ENTRY(glade_xml_get_widget(getMainXML(), | ||
448 | "searchNamespaceComboBoxEntry")); | ||
438 | 449 | ||
439 | model = gtk_list_store_new(NS_SEARCH_NUM, | 450 | model = gtk_list_store_new(NS_SEARCH_NUM, |
440 | G_TYPE_STRING, /* what we show */ | 451 | G_TYPE_STRING, /* what we show */ |
@@ -640,7 +651,7 @@ static void fs_summary_stop() { | |||
640 | 651 | ||
641 | searchCB | 652 | searchCB |
642 | = GTK_COMBO_BOX(glade_xml_get_widget(getMainXML(), | 653 | = GTK_COMBO_BOX(glade_xml_get_widget(getMainXML(), |
643 | "fssearchKeywordComboBoxEntry")); | 654 | "searchNamespaceComboBoxEntry")); |
644 | model = gtk_combo_box_get_model(searchCB); | 655 | model = gtk_combo_box_get_model(searchCB); |
645 | if (gtk_tree_model_get_iter_first(model, | 656 | if (gtk_tree_model_get_iter_first(model, |
646 | &iter)) { | 657 | &iter)) { |