diff options
Diffstat (limited to 'src/fs/gnunet-fs-gtk-event_handler.c')
-rw-r--r-- | src/fs/gnunet-fs-gtk-event_handler.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/fs/gnunet-fs-gtk-event_handler.c b/src/fs/gnunet-fs-gtk-event_handler.c index 05463f34..3b53fca5 100644 --- a/src/fs/gnunet-fs-gtk-event_handler.c +++ b/src/fs/gnunet-fs-gtk-event_handler.c | |||
@@ -19,14 +19,13 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @file src/fs_event_handler.c | 22 | * @file src/fs/gnunet-fs-gtk-event_handler.c |
23 | * @brief Main event handler for file-sharing | 23 | * @brief Main event handler for file-sharing |
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | #include "common.h" | ||
27 | #include "gnunet-fs-gtk.h" | 26 | #include "gnunet-fs-gtk.h" |
28 | #include "download.h" | 27 | #include "gnunet-fs-gtk-download.h" |
29 | #include "fs_event_handler.h" | 28 | #include "gnunet-fs-gtk-event_handler.h" |
30 | #include <string.h> | 29 | #include <string.h> |
31 | 30 | ||
32 | static struct SearchTab *search_tab_head; | 31 | static struct SearchTab *search_tab_head; |
@@ -691,7 +690,7 @@ start_download (GtkTreeView *tree_view, | |||
691 | dlc->rr = gtk_tree_row_reference_new (tm, path); | 690 | dlc->rr = gtk_tree_row_reference_new (tm, path); |
692 | dlc->sr = sr->result; | 691 | dlc->sr = sr->result; |
693 | dlc->anonymity = -1; | 692 | dlc->anonymity = -1; |
694 | GNUNET_GTK_open_download_as_dialog (dlc); | 693 | GNUNET_FS_GTK_open_download_as_dialog (dlc); |
695 | g_free (mime); | 694 | g_free (mime); |
696 | } | 695 | } |
697 | 696 | ||
@@ -1205,7 +1204,7 @@ setup_search (struct GNUNET_FS_SearchContext *sc, | |||
1205 | else | 1204 | else |
1206 | tab->query_txt = GNUNET_FS_uri_to_string (query); | 1205 | tab->query_txt = GNUNET_FS_uri_to_string (query); |
1207 | } | 1206 | } |
1208 | tab->builder = GNUNET_GTK_get_new_builder ("search_tab.glade"); | 1207 | tab->builder = GNUNET_GTK_get_new_builder ("gnunet_fs_gtk_search_tab.glade"); |
1209 | tab->ts = GTK_TREE_STORE (gtk_builder_get_object (tab->builder, | 1208 | tab->ts = GTK_TREE_STORE (gtk_builder_get_object (tab->builder, |
1210 | "GNUNET_GTK_file_sharing_result_tree_store")); | 1209 | "GNUNET_GTK_file_sharing_result_tree_store")); |
1211 | /* load frame */ | 1210 | /* load frame */ |
@@ -1707,7 +1706,7 @@ setup_publish (struct GNUNET_FS_PublishContext *pc, | |||
1707 | GNUNET_CONTAINER_DLL_insert (publish_tab_head, | 1706 | GNUNET_CONTAINER_DLL_insert (publish_tab_head, |
1708 | publish_tab_tail, | 1707 | publish_tab_tail, |
1709 | tab); | 1708 | tab); |
1710 | tab->builder = GNUNET_GTK_get_new_builder ("publish_tab.glade"); | 1709 | tab->builder = GNUNET_GTK_get_new_builder ("gnunet_fs_gtk_publish_tab.glade"); |
1711 | df = GTK_WINDOW (gtk_builder_get_object (tab->builder, | 1710 | df = GTK_WINDOW (gtk_builder_get_object (tab->builder, |
1712 | "_publish_frame_window")); | 1711 | "_publish_frame_window")); |
1713 | tab->frame = gtk_bin_get_child (GTK_BIN (df)); | 1712 | tab->frame = gtk_bin_get_child (GTK_BIN (df)); |
@@ -2025,4 +2024,4 @@ GNUNET_GTK_main_window_notebook_switch_page_cb (GtkWidget * dummy, | |||
2025 | 2024 | ||
2026 | 2025 | ||
2027 | 2026 | ||
2028 | /* end of fs_event_handler.c */ | 2027 | /* end of gnunet-fs-gtk-event_handler.c */ |