aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk_main-window-namespace-dropdown.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-fs-gtk_main-window-namespace-dropdown.c')
-rw-r--r--src/fs/gnunet-fs-gtk_main-window-namespace-dropdown.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/fs/gnunet-fs-gtk_main-window-namespace-dropdown.c b/src/fs/gnunet-fs-gtk_main-window-namespace-dropdown.c
index 8093ba2d..af8a2399 100644
--- a/src/fs/gnunet-fs-gtk_main-window-namespace-dropdown.c
+++ b/src/fs/gnunet-fs-gtk_main-window-namespace-dropdown.c
@@ -36,7 +36,7 @@
36 * ID of a timeout task which we schedule to close the drop-down automatically 36 * ID of a timeout task which we schedule to close the drop-down automatically
37 * if the mouse leaves the area for a while. 0 for no such task. 37 * if the mouse leaves the area for a while. 0 for no such task.
38 * 38 *
39 * FIXME: this task is not cancelled if the main window is closed while 39 * FIXME-BUG-MINOR: this task is not cancelled if the main window is closed while
40 * the drop-down is down. 40 * the drop-down is down.
41 */ 41 */
42static guint namespace_selector_window_leave_timeout_source; 42static guint namespace_selector_window_leave_timeout_source;
@@ -403,7 +403,7 @@ GNUNET_GTK_main_window_realize_cb (GtkWidget * widget, gpointer user_data)
403 GtkTreeIter iter; 403 GtkTreeIter iter;
404 GtkTreeStore *namespace_treestore; 404 GtkTreeStore *namespace_treestore;
405 405
406 /* FIXME: can't we do the button initialization when we create the main window? */ 406 /* FIXME-STYLE: can't we do the button initialization when we create the main window? */
407 /* Make sure button class is realized */ 407 /* Make sure button class is realized */
408 g_type_class_unref (g_type_class_ref (GTK_TYPE_BUTTON)); 408 g_type_class_unref (g_type_class_ref (GTK_TYPE_BUTTON));
409 /* GNUnet main window assumes that images on buttons are visible, 409 /* GNUnet main window assumes that images on buttons are visible,
@@ -417,7 +417,7 @@ GNUNET_GTK_main_window_realize_cb (GtkWidget * widget, gpointer user_data)
417 GTK_TREE_STORE (GNUNET_FS_GTK_get_main_window_object 417 GTK_TREE_STORE (GNUNET_FS_GTK_get_main_window_object
418 ("main_window_search_namespace_treestore")); 418 ("main_window_search_namespace_treestore"));
419 419
420 /* FIXME: find a way to manage pseudonyms. 420 /* FIXME-FEATURE: find a way to manage pseudonyms.
421 * Right now the list will be filled with ALL and ANY pseudonyms that we 421 * Right now the list will be filled with ALL and ANY pseudonyms that we
422 * find, these are held as files in a special directory. 422 * find, these are held as files in a special directory.
423 * I don't see an easy way to ignore certain pseudonyms in that directory, 423 * I don't see an easy way to ignore certain pseudonyms in that directory,
@@ -430,7 +430,7 @@ GNUNET_GTK_main_window_realize_cb (GtkWidget * widget, gpointer user_data)
430 0, "Any", 1, NULL, 2, "", 3, 430 0, "Any", 1, NULL, 2, "", 3,
431 "Do not search in any particular namespace", 431 "Do not search in any particular namespace",
432 -1); 432 -1);
433 /* FIXME-BUG: when do we unregister? */ 433 /* FIXME-BUG-MINOR: when do we unregister? */
434 GNUNET_PSEUDONYM_discovery_callback_register (GNUNET_FS_GTK_get_configuration (), 434 GNUNET_PSEUDONYM_discovery_callback_register (GNUNET_FS_GTK_get_configuration (),
435 &add_namespace_to_ts, 435 &add_namespace_to_ts,
436 namespace_treestore); 436 namespace_treestore);
@@ -461,7 +461,9 @@ GNUNET_GTK_main_window_realize_cb (GtkWidget * widget, gpointer user_data)
461 } 461 }
462 462
463 /* show the window (to trigger certain events) and immediately hide it */ 463 /* show the window (to trigger certain events) and immediately hide it */
464 /* FIXME: yuck, can't we trigger these events by other means? */ 464 /* FIXME-STYLE: yuck, can't we trigger these events by other means?
465 CG->LRN: Which events are you even talking about here? I can't find anything
466 that would seem to be needed here. */
465 { 467 {
466 GtkWidget *namespace_selector_window; 468 GtkWidget *namespace_selector_window;
467 469