diff options
Diffstat (limited to 'src/fs/gnunet-fs-gtk.h')
-rw-r--r-- | src/fs/gnunet-fs-gtk.h | 30 |
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 | ||
33 | struct 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, | |||
114 | gboolean | 141 | gboolean |
115 | GNUNET_GTK_select_anonymity_combo_level (GtkComboBox *combo, guint sel_level); | 142 | GNUNET_GTK_select_anonymity_combo_level (GtkComboBox *combo, guint sel_level); |
116 | 143 | ||
144 | void | ||
145 | GNUNET_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 */ |