diff options
author | Srinivasa Ragavan <sragavan@src.gnome.org> | 2007-07-01 03:33:39 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2007-07-01 03:33:39 +0800 |
commit | bac2e24ba98349d6954669c393da672450e26caa (patch) | |
tree | 8b650104489b4a6705fa94efb35ed6c10608b8df | |
parent | 5ba7e1862f602b014e722e09e5dd7ff902fe620c (diff) | |
download | gsoc2013-evolution-bac2e24ba98349d6954669c393da672450e26caa.tar.gz gsoc2013-evolution-bac2e24ba98349d6954669c393da672450e26caa.tar.zst gsoc2013-evolution-bac2e24ba98349d6954669c393da672450e26caa.zip |
** Fix for bug #352947
svn path=/trunk/; revision=33735
-rw-r--r-- | mail/ChangeLog | 7 | ||||
-rw-r--r-- | mail/em-account-editor.c | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 92f9c2f778..a6f8fa7049 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2007-06-25 Milan Crha <mcrha@redhat.com> + + ** Fix for bug #352947 + + * em-account-editor.c: (smime_sign_key_select), + (smime_encrypt_key_select): EMAccountEditor isn't a GtkWidget. + 2007-06-18 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bug #448223 from Gilles Dartiguelongue diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c index ecc2671dba..ce82449fa7 100644 --- a/mail/em-account-editor.c +++ b/mail/em-account-editor.c @@ -966,7 +966,7 @@ smime_sign_key_select(GtkWidget *button, EMAccountEditor *emae) w = e_cert_selector_new(E_CERT_SELECTOR_SIGNER, gtk_entry_get_text(gui->smime_sign_key)); gtk_window_set_modal((GtkWindow *)w, TRUE); - gtk_window_set_transient_for((GtkWindow *)w, (GtkWindow *)gtk_widget_get_toplevel((GtkWidget *)emae)); + gtk_window_set_transient_for((GtkWindow *)w, (GtkWindow *)gtk_widget_get_toplevel(button)); g_signal_connect(w, "selected", G_CALLBACK(smime_sign_key_selected), emae); gtk_widget_show(w); } @@ -1001,7 +1001,7 @@ smime_encrypt_key_select(GtkWidget *button, EMAccountEditor *emae) w = e_cert_selector_new(E_CERT_SELECTOR_SIGNER, gtk_entry_get_text(gui->smime_encrypt_key)); gtk_window_set_modal((GtkWindow *)w, TRUE); - gtk_window_set_transient_for((GtkWindow *)w, (GtkWindow *)gtk_widget_get_toplevel((GtkWidget *)emae)); + gtk_window_set_transient_for((GtkWindow *)w, (GtkWindow *)gtk_widget_get_toplevel(button)); g_signal_connect(w, "selected", G_CALLBACK(smime_encrypt_key_selected), emae); gtk_widget_show(w); } |