aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-03-01 11:54:40 +0000
committerChristian Grothoff <christian@grothoff.org>2012-03-01 11:54:40 +0000
commit566a2506418b17631f101fb81a320616bde0fdaa (patch)
treed6a132165b6b51d4baebabaa62b3972d68ef36df /src/fs/gnunet-fs-gtk.h
parentc2f8fc70a1dc5f63f799c0af2e7d9edb1ffce486 (diff)
downloadgnunet-gtk-566a2506418b17631f101fb81a320616bde0fdaa.tar.gz
gnunet-gtk-566a2506418b17631f101fb81a320616bde0fdaa.zip
LRN: add main window context; apply pseudonym rank filtering
Diffstat (limited to 'src/fs/gnunet-fs-gtk.h')
-rw-r--r--src/fs/gnunet-fs-gtk.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/fs/gnunet-fs-gtk.h b/src/fs/gnunet-fs-gtk.h
index 4f5c7476..af533fad 100644
--- a/src/fs/gnunet-fs-gtk.h
+++ b/src/fs/gnunet-fs-gtk.h
@@ -30,6 +30,33 @@
30#include <gnunet/gnunet_fs_service.h> 30#include <gnunet/gnunet_fs_service.h>
31#include <extractor.h> 31#include <extractor.h>
32 32
33struct GNUNET_GTK_MainWindowContext
34{
35 GtkBuilder *builder;
36
37 const struct GNUNET_CONFIGURATION_Handle *cfg;
38
39 GtkTreeStore *search_ns_treestore;
40 GtkTreeView *ns_selector_treeview;
41 GtkWidget *ns_selector_window;
42 GtkToggleButton *ns_dropdown_button;
43 GtkLabel *search_ns_label;
44
45 GtkEntry *search_entry;
46
47 GtkComboBox *anonymity_combo;
48 GtkListStore *anonymity_level_liststore;
49
50 GtkImage *preview_image;
51 GtkListStore *md_liststore;
52 GtkTreeView *md_treeview;
53
54 GtkWidget *main_window;
55
56 GtkTreeRowReference *ns_selector_pushed_row;
57 GtkTreeRowReference *selected_ns_row;
58 int ns_callback_registered;
59};
33 60
34/** 61/**
35 * Get our configuration. 62 * Get our configuration.
@@ -114,5 +141,8 @@ GNUNET_GTK_select_anonymity_level (GtkBuilder * builder, gchar * combo_name,
114gboolean 141gboolean
115GNUNET_GTK_select_anonymity_combo_level (GtkComboBox *combo, guint sel_level); 142GNUNET_GTK_select_anonymity_combo_level (GtkComboBox *combo, guint sel_level);
116 143
144void
145GNUNET_GTK_main_window_refresh_ns_list (struct GNUNET_GTK_MainWindowContext *main_ctx);
146
117#endif 147#endif
118/* end of gnunet-fs-gtk.h */ 148/* end of gnunet-fs-gtk.h */