diff options
Diffstat (limited to 'src/fs/gnunet-fs-gtk.h')
-rw-r--r-- | src/fs/gnunet-fs-gtk.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/fs/gnunet-fs-gtk.h b/src/fs/gnunet-fs-gtk.h index 4cd76de6..114be040 100644 --- a/src/fs/gnunet-fs-gtk.h +++ b/src/fs/gnunet-fs-gtk.h | |||
@@ -76,5 +76,18 @@ GNUNET_GTK_get_selected_anonymity_level (GtkBuilder *builder, | |||
76 | gchar *combo_name, guint *p_level); | 76 | gchar *combo_name, guint *p_level); |
77 | 77 | ||
78 | 78 | ||
79 | /** | ||
80 | * Set the selected anonymity level. | ||
81 | * For dialogue initialization. | ||
82 | * | ||
83 | * @param builder builder object for the window | ||
84 | * @param combo_name name of the combobox widget to get anonymity from | ||
85 | * @param sel_level the level value to select | ||
86 | * @return TRUE on success, FALSE on error (no item with such level) | ||
87 | */ | ||
88 | gboolean | ||
89 | GNUNET_GTK_select_anonymity_level (GtkBuilder *builder, | ||
90 | gchar *combo_name, guint sel_level); | ||
91 | |||
79 | #endif | 92 | #endif |
80 | /* end of gnunet-fs-gtk.h */ | 93 | /* end of gnunet-fs-gtk.h */ |