aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk-event_handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-fs-gtk-event_handler.c')
-rw-r--r--src/fs/gnunet-fs-gtk-event_handler.c32
1 files changed, 22 insertions, 10 deletions
diff --git a/src/fs/gnunet-fs-gtk-event_handler.c b/src/fs/gnunet-fs-gtk-event_handler.c
index b420c81b..26790f01 100644
--- a/src/fs/gnunet-fs-gtk-event_handler.c
+++ b/src/fs/gnunet-fs-gtk-event_handler.c
@@ -113,6 +113,28 @@ struct StartDownloadContext
113 113
114static struct PublishTab *publish_tab; 114static struct PublishTab *publish_tab;
115 115
116/**
117 * Row reference for the current search context menu.
118 */
119static GtkTreeRowReference *current_context_row_reference;
120
121/**
122 * Search tab used for the current search context menu.
123 */
124static struct SearchTab *current_context_search_tab;
125
126static void
127start_download_ctx_menu (GtkMenuItem *item, gpointer user_data);
128
129static void
130start_download_recursively_ctx_menu (GtkMenuItem *item, gpointer user_data);
131
132static void
133abort_download_ctx_menu (GtkMenuItem *item, gpointer user_data);
134
135static void
136copy_uri_to_clipboard_ctx_menu (GtkMenuItem *item, gpointer user_data);
137
116static gboolean 138static gboolean
117search_list_popup (GtkTreeView *tv, struct SearchTab *tab, GdkEventButton *event_button) 139search_list_popup (GtkTreeView *tv, struct SearchTab *tab, GdkEventButton *event_button)
118{ 140{
@@ -887,16 +909,6 @@ start_download (GtkTreeView * tree_view, GtkTreePath * path,
887 909
888 910
889/** 911/**
890 * Row reference for the current search context menu.
891 */
892static GtkTreeRowReference *current_context_row_reference;
893
894/**
895 * Search tab used for the current search context menu.
896 */
897static struct SearchTab *current_context_search_tab;
898
899/**
900 * "Download" was selected in the current search context menu. 912 * "Download" was selected in the current search context menu.
901 */ 913 */
902static void 914static void