diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-03-01 08:28:24 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-03-01 08:28:24 +0000 |
commit | c2f8fc70a1dc5f63f799c0af2e7d9edb1ffce486 (patch) | |
tree | 409a75465a990839e041b516af46dbb24d20e40f | |
parent | 748a761b83c1adf89ad16c5069f829fa0a90e31b (diff) | |
download | gnunet-gtk-c2f8fc70a1dc5f63f799c0af2e7d9edb1ffce486.tar.gz gnunet-gtk-c2f8fc70a1dc5f63f799c0af2e7d9edb1ffce486.zip |
-reducing redirections (fixing 2nd patch from #1952)
-rw-r--r-- | src/fs/Makefile.am | 2 | ||||
-rw-r--r-- | src/fs/gnunet-fs-gtk_event-handler.c | 7 | ||||
-rw-r--r-- | src/fs/gnunet-fs-gtk_namespace_manager.c | 5 |
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 |
30 | gnunet_fs_gtk_LDADD = \ | 30 | gnunet_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 | ||
3034 | void | ||
3035 | GNUNET_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 | |||
899 | void | 901 | void |
900 | GNUNET_GTK_namespace_manager_open () | 902 | GNUNET_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 | ||