[evolution-data-server] Bug #624229 - Password dialog is not accessible in Subscriptions window
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug #624229 - Password dialog is not accessible in Subscriptions window
- Date: Fri, 3 Sep 2010 12:40:53 +0000 (UTC)
commit 08cc4ad675e3a18e50d0bd20e50f63ebc3fb1dc2
Author: Milan Crha <mcrha redhat com>
Date: Fri Sep 3 14:39:16 2010 +0200
Bug #624229 - Password dialog is not accessible in Subscriptions window
libedataserverui/e-passwords.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/libedataserverui/e-passwords.c b/libedataserverui/e-passwords.c
index 016d224..9d3f232 100644
--- a/libedataserverui/e-passwords.c
+++ b/libedataserverui/e-passwords.c
@@ -1267,10 +1267,13 @@ ep_ask_password (EPassMsg *msg)
password_dialog, "response",
G_CALLBACK (pass_response), msg);
- if (msg->parent)
+ if (msg->parent) {
gtk_dialog_run (GTK_DIALOG (password_dialog));
- else
- gtk_widget_show (GTK_WIDGET (password_dialog));
+ } else {
+ gtk_window_present (GTK_WINDOW (password_dialog));
+ /* workaround GTK+ bug (see Gnome's bugzilla bug #624229) */
+ gtk_grab_add (GTK_WIDGET (password_dialog));
+ }
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]