aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorVivek Jain <jvivek@novell.com>2005-09-27 18:10:16 +0800
committerJain Vivek <jvivek@src.gnome.org>2005-09-27 18:10:16 +0800
commit41e886f9ef5347b5ac40a995d183fa8b4a76d950 (patch)
treed056d0cad2f9b521674fcd1c120b406770ca799c /plugins
parent5f23f22fa49de3788f25f41fcf81483d0560f51b (diff)
downloadgsoc2013-evolution-41e886f9ef5347b5ac40a995d183fa8b4a76d950.tar
gsoc2013-evolution-41e886f9ef5347b5ac40a995d183fa8b4a76d950.tar.gz
gsoc2013-evolution-41e886f9ef5347b5ac40a995d183fa8b4a76d950.tar.bz2
gsoc2013-evolution-41e886f9ef5347b5ac40a995d183fa8b4a76d950.tar.lz
gsoc2013-evolution-41e886f9ef5347b5ac40a995d183fa8b4a76d950.tar.xz
gsoc2013-evolution-41e886f9ef5347b5ac40a995d183fa8b4a76d950.tar.zst
gsoc2013-evolution-41e886f9ef5347b5ac40a995d183fa8b4a76d950.zip
we have to connect "response" to (install_folder_response) to make it work
2005-09-27 Vivek Jain <jvivek@novell.com> * 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
Diffstat (limited to 'plugins')
-rw-r--r--plugins/groupwise-features/ChangeLog8
-rw-r--r--plugins/groupwise-features/install-shared.c5
2 files changed, 11 insertions, 2 deletions
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 <jvivek@novell.com>
+
+ * 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 <psankar@novell.com>
* 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);
}