diff options
author | Milan Crha <mcrha@redhat.com> | 2012-03-09 18:14:08 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2012-03-09 18:14:08 +0800 |
commit | 6695ba892a25615309c2c432a9abc82105c9118d (patch) | |
tree | f1041b90927394a66e93aef05cb5c3b92066b6be | |
parent | 015ede7bc8212f079c3d9e2f2304b14457dbcfd9 (diff) | |
download | gsoc2013-evolution-6695ba892a25615309c2c432a9abc82105c9118d.tar.gz gsoc2013-evolution-6695ba892a25615309c2c432a9abc82105c9118d.tar.zst gsoc2013-evolution-6695ba892a25615309c2c432a9abc82105c9118d.zip |
Bug #664205 - Improve UX when creating a new mail folder
-rw-r--r-- | mail/em-folder-selector.c | 3 | ||||
-rw-r--r-- | 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 18172cb7a5..8b6878caa4 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 5d8c258626..5264d1d671 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, |