From 41e886f9ef5347b5ac40a995d183fa8b4a76d950 Mon Sep 17 00:00:00 2001 From: Vivek Jain Date: Tue, 27 Sep 2005 10:10:16 +0000 Subject: we have to connect "response" to (install_folder_response) to make it work 2005-09-27 Vivek Jain * install-shared.c: (accept_clicked): we have to connect "response" to (install_folder_response) to make it work don't destroy druid right now, wait till folder selector dialog dies, make folder selector dialog modal svn path=/trunk/; revision=30379 --- plugins/groupwise-features/ChangeLog | 8 ++++++++ plugins/groupwise-features/install-shared.c | 5 +++-- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'plugins/groupwise-features') diff --git a/plugins/groupwise-features/ChangeLog b/plugins/groupwise-features/ChangeLog index 6832dad3f6..3e60bc74e3 100644 --- a/plugins/groupwise-features/ChangeLog +++ b/plugins/groupwise-features/ChangeLog @@ -1,3 +1,11 @@ +2005-09-27 Vivek Jain + + * install-shared.c: (accept_clicked): + we have to connect "response" to (install_folder_response) + to make it work + don't destroy druid right now, wait till folder selector + dialog dies, make folder selector dialog modal + 2005-08-25 Sankar P * proxy.c: (proxy_dialog_finalize): diff --git a/plugins/groupwise-features/install-shared.c b/plugins/groupwise-features/install-shared.c index 1f0bd303de..d4179421f8 100644 --- a/plugins/groupwise-features/install-shared.c +++ b/plugins/groupwise-features/install-shared.c @@ -169,9 +169,10 @@ accept_clicked(GnomeDruidPage *page, GtkWidget *druid, CamelMimeMessage *msg) camel_object_ref(msg); accept_data->model = model; g_object_set_data_full((GObject *)dialog, "accept-data", accept_data, accept_free); -! g_signal_connect (dialog, "response", G_CALLBACK (install_folder_response), accept_data); + g_signal_connect (dialog, "response", G_CALLBACK (install_folder_response), accept_data); + g_object_set_data_full((GObject *)dialog, "druid", druid, (GDestroyNotify)gtk_widget_destroy); gtk_window_set_title (GTK_WINDOW (dialog), "Install Shared Folder"); - gtk_widget_destroy (druid); + gtk_window_set_modal (GTK_WINDOW (dialog), TRUE); gtk_widget_show (dialog); } -- cgit v1.2.3