diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2004-03-11 05:47:26 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-03-11 05:47:26 +0800 |
commit | 47430e5f9761b343a643bf2ec4354bdd942e634b (patch) | |
tree | 6e90f5054f2c44b28faf72b51931937cf4562939 /mail/em-folder-selector.c | |
parent | f5f54e2eaa8e123473d5a20cef325e5418d1ee21 (diff) | |
download | gsoc2013-evolution-47430e5f9761b343a643bf2ec4354bdd942e634b.tar.gz gsoc2013-evolution-47430e5f9761b343a643bf2ec4354bdd942e634b.tar.zst gsoc2013-evolution-47430e5f9761b343a643bf2ec4354bdd942e634b.zip |
Removed an unused variable left over from an old attempted fix.
2004-03-10 Jeffrey Stedfast <fejj@ximian.com>
* em-format-html-display.c (efhd_xpkcs7mime_validity_clicked):
Removed an unused variable left over from an old attempted fix.
* em-folder-selector.c (emfs_response): Select the same folder in
the create-folder dialog as is selected in the parent selector
dialog. Fixes the rest of bug #53862.
svn path=/trunk/; revision=25014
Diffstat (limited to 'mail/em-folder-selector.c')
-rw-r--r-- | mail/em-folder-selector.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/mail/em-folder-selector.c b/mail/em-folder-selector.c index 754c123141..3a587ddc72 100644 --- a/mail/em-folder-selector.c +++ b/mail/em-folder-selector.c @@ -138,19 +138,15 @@ folder_created_cb (EMFolderTreeModel *model, const char *path, const char *uri, CamelException ex; CamelStore *store; - printf ("folder_created_cb: uri=%s (we are waiting for %s)\n", uri, emfs->created_uri); - camel_exception_init (&ex); if (!(store = (CamelStore *) camel_session_get_service (session, uri, CAMEL_PROVIDER_STORE, &ex))) return; if (camel_store_folder_uri_equal (store, emfs->created_uri, uri)) { - printf ("we got it!\n"); em_folder_tree_set_selected (emfs->emft, uri); g_signal_handler_disconnect (model, emfs->created_id); emfs->created_id = 0; - } else - printf ("we didn't get it... :(\n"); + } camel_object_unref (store); } @@ -169,6 +165,8 @@ emfs_response (GtkWidget *dialog, int response, EMFolderSelector *emfs) emft = (EMFolderTree *) em_folder_tree_new_with_model (model); dialog = em_folder_selector_create_new (emft, 0, _("Create New Folder"), _("Specify where to create the folder:")); gtk_window_set_transient_for ((GtkWindow *) dialog, (GtkWindow *) emfs); + uri = em_folder_selector_get_selected_uri (emfs); + em_folder_tree_set_selected (emft, uri); if (gtk_dialog_run ((GtkDialog *) dialog) == GTK_RESPONSE_OK) { uri = em_folder_selector_get_selected_uri ((EMFolderSelector *) dialog); |