diff options
Diffstat (limited to 'src/fs/gnunet-fs-gtk_namespace_manager.c')
-rw-r--r-- | src/fs/gnunet-fs-gtk_namespace_manager.c | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/fs/gnunet-fs-gtk_namespace_manager.c b/src/fs/gnunet-fs-gtk_namespace_manager.c index 69fe4969..d40fb629 100644 --- a/src/fs/gnunet-fs-gtk_namespace_manager.c +++ b/src/fs/gnunet-fs-gtk_namespace_manager.c | |||
@@ -888,7 +888,7 @@ known_ns_selection_changed (GtkTreeSelection *treeselection, | |||
888 | gtk_widget_set_sensitive (ctx->details_apply_button, FALSE); | 888 | gtk_widget_set_sensitive (ctx->details_apply_button, FALSE); |
889 | } | 889 | } |
890 | 890 | ||
891 | GtkObject * | 891 | GtkWindow * |
892 | GNUNET_GTK_namespace_manager_open (struct GNUNET_GTK_MainWindowContext *main_ctx) | 892 | GNUNET_GTK_namespace_manager_open (struct GNUNET_GTK_MainWindowContext *main_ctx) |
893 | { | 893 | { |
894 | struct GNUNET_GTK_NamespaceManagerContext *ctx; | 894 | struct GNUNET_GTK_NamespaceManagerContext *ctx; |
@@ -953,12 +953,12 @@ GNUNET_GTK_namespace_manager_open (struct GNUNET_GTK_MainWindowContext *main_ctx | |||
953 | gtk_widget_set_sensitive (ctx->details_apply_button, FALSE); | 953 | gtk_widget_set_sensitive (ctx->details_apply_button, FALSE); |
954 | 954 | ||
955 | /* show dialog */ | 955 | /* show dialog */ |
956 | gtk_window_present (GTK_WINDOW (ctx->namespace_manager)); | 956 | gtk_window_present (ctx->namespace_manager); |
957 | return GTK_OBJECT (ctx->namespace_manager); | 957 | return ctx->namespace_manager; |
958 | } | 958 | } |
959 | 959 | ||
960 | void | 960 | void |
961 | ns_manager_deleted (GtkObject *object, gpointer user_data) | 961 | ns_manager_deleted (GtkWindow *object, gpointer user_data) |
962 | { | 962 | { |
963 | struct GNUNET_GTK_MainWindowContext *ctx = user_data; | 963 | struct GNUNET_GTK_MainWindowContext *ctx = user_data; |
964 | g_signal_handler_disconnect (object, ctx->ns_manager_delete_handler_id); | 964 | g_signal_handler_disconnect (object, ctx->ns_manager_delete_handler_id); |
@@ -973,7 +973,7 @@ GNUNET_GTK_open_ns_manager (struct GNUNET_GTK_MainWindowContext *ctx) | |||
973 | { | 973 | { |
974 | if (ctx->ns_manager != NULL) | 974 | if (ctx->ns_manager != NULL) |
975 | { | 975 | { |
976 | gtk_window_present (GTK_WINDOW (ctx->ns_manager)); | 976 | gtk_window_present (ctx->ns_manager); |
977 | return; | 977 | return; |
978 | } | 978 | } |
979 | 979 | ||
@@ -992,4 +992,11 @@ GNUNET_GTK_main_menu_file_manage_pseudonyms_activate_cb (GtkMenuItem *menuitem, | |||
992 | GNUNET_GTK_open_ns_manager (user_data); | 992 | GNUNET_GTK_open_ns_manager (user_data); |
993 | } | 993 | } |
994 | 994 | ||
995 | void | ||
996 | namespace_selector_manage_namespaces_button_clicked_cb (GtkButton *button, gpointer user_data) | ||
997 | { | ||
998 | GNUNET_GTK_open_ns_manager (user_data); | ||
999 | } | ||
1000 | |||
1001 | |||
995 | /* end of gnunet-fs-gtk_namespace_manager.c */ | 1002 | /* end of gnunet-fs-gtk_namespace_manager.c */ |