aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-03-01 08:28:24 +0000
committerChristian Grothoff <christian@grothoff.org>2012-03-01 08:28:24 +0000
commitc2f8fc70a1dc5f63f799c0af2e7d9edb1ffce486 (patch)
tree409a75465a990839e041b516af46dbb24d20e40f
parent748a761b83c1adf89ad16c5069f829fa0a90e31b (diff)
downloadgnunet-gtk-c2f8fc70a1dc5f63f799c0af2e7d9edb1ffce486.tar.gz
gnunet-gtk-c2f8fc70a1dc5f63f799c0af2e7d9edb1ffce486.zip
-reducing redirections (fixing 2nd patch from #1952)
-rw-r--r--src/fs/Makefile.am2
-rw-r--r--src/fs/gnunet-fs-gtk_event-handler.c7
-rw-r--r--src/fs/gnunet-fs-gtk_namespace_manager.c5
3 files changed, 5 insertions, 9 deletions
diff --git a/src/fs/Makefile.am b/src/fs/Makefile.am
index 20d8a7da..6404f4ae 100644
--- a/src/fs/Makefile.am
+++ b/src/fs/Makefile.am
@@ -26,7 +26,7 @@ gnunet_fs_gtk_SOURCES = \
26 gnunet-fs-gtk_open-uri.c \ 26 gnunet-fs-gtk_open-uri.c \
27 gnunet-fs-gtk_publish-dialog.c \ 27 gnunet-fs-gtk_publish-dialog.c \
28 gnunet-fs-gtk_publish-edit-dialog.c gnunet-fs-gtk_publish-edit-dialog.h \ 28 gnunet-fs-gtk_publish-edit-dialog.c gnunet-fs-gtk_publish-edit-dialog.h \
29 gnunet-fs-gtk_namespace_manager.c gnunet-fs-gtk_namespace_manager.h 29 gnunet-fs-gtk_namespace_manager.c
30gnunet_fs_gtk_LDADD = \ 30gnunet_fs_gtk_LDADD = \
31 $(top_builddir)/src/lib/libgnunetgtk.la \ 31 $(top_builddir)/src/lib/libgnunetgtk.la \
32 @GTK_LIBS@ \ 32 @GTK_LIBS@ \
diff --git a/src/fs/gnunet-fs-gtk_event-handler.c b/src/fs/gnunet-fs-gtk_event-handler.c
index 0c7606c8..24243aa2 100644
--- a/src/fs/gnunet-fs-gtk_event-handler.c
+++ b/src/fs/gnunet-fs-gtk_event-handler.c
@@ -3031,12 +3031,5 @@ GNUNET_GTK_fs_event_handler (void *cls,
3031 return NULL; 3031 return NULL;
3032} 3032}
3033 3033
3034void
3035GNUNET_GTK_main_menu_file_manage_pseudonyms_activate_cb (GtkMenuItem *menuitem,
3036 gpointer user_data)
3037{
3038 GNUNET_GTK_namespace_manager_open ();
3039}
3040
3041 3034
3042/* end of gnunet-fs-gtk-event_handler.c */ 3035/* end of gnunet-fs-gtk-event_handler.c */
diff --git a/src/fs/gnunet-fs-gtk_namespace_manager.c b/src/fs/gnunet-fs-gtk_namespace_manager.c
index a7d79376..772d3339 100644
--- a/src/fs/gnunet-fs-gtk_namespace_manager.c
+++ b/src/fs/gnunet-fs-gtk_namespace_manager.c
@@ -896,8 +896,11 @@ known_ns_selection_changed (GtkTreeSelection *treeselection,
896 gtk_widget_set_sensitive (ctx->details_apply_button, FALSE); 896 gtk_widget_set_sensitive (ctx->details_apply_button, FALSE);
897} 897}
898 898
899
900
899void 901void
900GNUNET_GTK_namespace_manager_open () 902GNUNET_GTK_main_menu_file_manage_pseudonyms_activate_cb (GtkMenuItem *menuitem,
903 gpointer user_data)
901{ 904{
902 struct GNUNET_GTK_NamespaceManagerContext *ctx; 905 struct GNUNET_GTK_NamespaceManagerContext *ctx;
903 906