aboutsummaryrefslogtreecommitdiff
path: root/src/main_window_open_directory.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-06-27 11:14:37 +0000
committerChristian Grothoff <christian@grothoff.org>2010-06-27 11:14:37 +0000
commitfef3bb3b03d2efba0e93eaee2c16ea32379cddab (patch)
tree7894028c5e6960d61b9a0e94daadce41608974c6 /src/main_window_open_directory.c
parentc1320a6bb621148c5961fcc2f84de78aa71fe559 (diff)
downloadgnunet-gtk-fef3bb3b03d2efba0e93eaee2c16ea32379cddab.tar.gz
gnunet-gtk-fef3bb3b03d2efba0e93eaee2c16ea32379cddab.zip
handling lost parent
Diffstat (limited to 'src/main_window_open_directory.c')
-rw-r--r--src/main_window_open_directory.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main_window_open_directory.c b/src/main_window_open_directory.c
index cd67adba..5384222d 100644
--- a/src/main_window_open_directory.c
+++ b/src/main_window_open_directory.c
@@ -53,8 +53,19 @@ GNUNET_GTK_main_menu_file_open_gnunet_directory_activate_cb (GtkWidget * dummy,
53 filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER(ad)); 53 filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER(ad));
54 gtk_widget_destroy (ad); 54 gtk_widget_destroy (ad);
55 g_object_unref (G_OBJECT (builder)); 55 g_object_unref (G_OBJECT (builder));
56#if 0
57 open_directory;
58 uri = compute_uri_from_file (filename);
59 meta = new;
60 meta_make_directory ();
61 meta_add (filename);
62 ts = setup_entry_in_uri_tab (&iter,
63 meta,
64 uri);
65 directory_iterate (add_child, ts, &iter);
56 66
57 GNUNET_break (0); 67 GNUNET_break (0);
68#endif
58 g_free (filename); 69 g_free (filename);
59} 70}
60 71