[evolution] Bug #664205 - Improve UX when creating a new mail folder
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug #664205 - Improve UX when creating a new mail folder
- Date: Fri, 9 Mar 2012 10:14:43 +0000 (UTC)
commit 6695ba892a25615309c2c432a9abc82105c9118d
Author: Milan Crha <mcrha redhat com>
Date: Fri Mar 9 11:14:08 2012 +0100
Bug #664205 - Improve UX when creating a new mail folder
mail/em-folder-selector.c | 3 ++-
mail/em-folder-utils.c | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/mail/em-folder-selector.c b/mail/em-folder-selector.c
index 18172cb..8b6878c 100644
--- a/mail/em-folder-selector.c
+++ b/mail/em-folder-selector.c
@@ -189,7 +189,8 @@ emfs_response (GtkWidget *dialog,
session = em_folder_tree_get_session (folder_tree);
em_folder_utils_create_folder (
- GTK_WINDOW (dialog), session, folder_tree, NULL);
+ GTK_WINDOW (dialog), session, folder_tree,
+ em_folder_selector_get_selected_uri (emfs));
g_signal_stop_emission_by_name (emfs, "response");
}
diff --git a/mail/em-folder-utils.c b/mail/em-folder-utils.c
index 5d8c258..5264d1d 100644
--- a/mail/em-folder-utils.c
+++ b/mail/em-folder-utils.c
@@ -532,7 +532,7 @@ new_folder_created_cb (CamelStore *store,
/* XXX What in the hell kind of lazy hack is this? */
data = g_object_get_data (
G_OBJECT (context->folder_tree), "select");
- expand_only = GPOINTER_TO_INT (data) ? TRUE : FALSE;
+ expand_only = GPOINTER_TO_INT (data) ? FALSE : TRUE;
em_folder_tree_set_selected (
context->folder_tree,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]