[evolution] Bug #593890 - New folder window is not in focus in filter dialog
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug #593890 - New folder window is not in focus in filter dialog
- Date: Mon, 3 May 2010 20:36:32 +0000 (UTC)
commit 0a0657836b429289a918f509504813f7e4e112df
Author: Milan Crha <mcrha redhat com>
Date: Mon May 3 22:35:45 2010 +0200
Bug #593890 - New folder window is not in focus in filter dialog
mail/em-folder-utils.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/mail/em-folder-utils.c b/mail/em-folder-utils.c
index 6e3cb3f..ee2d05f 100644
--- a/mail/em-folder-utils.c
+++ b/mail/em-folder-utils.c
@@ -674,7 +674,11 @@ em_folder_utils_create_folder (CamelFolderInfo *folderinfo, EMFolderTree *emft,
if (folderinfo != NULL)
em_folder_selector_set_selected ((EMFolderSelector *) dialog, folderinfo->uri);
g_signal_connect (dialog, "response", G_CALLBACK (emfu_popup_new_folder_response), emft);
- gtk_widget_show (dialog);
+
+ if (!parent || !GTK_IS_DIALOG (parent))
+ gtk_widget_show (dialog);
+ else
+ gtk_dialog_run (GTK_DIALOG (dialog));
}
struct _folder_unsub_t {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]