aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-03-11 05:47:26 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-03-11 05:47:26 +0800
commit47430e5f9761b343a643bf2ec4354bdd942e634b (patch)
tree6e90f5054f2c44b28faf72b51931937cf4562939 /mail
parentf5f54e2eaa8e123473d5a20cef325e5418d1ee21 (diff)
downloadgsoc2013-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')
-rw-r--r--mail/ChangeLog9
-rw-r--r--mail/em-folder-selector.c8
-rw-r--r--mail/em-format-html-display.c1
3 files changed, 11 insertions, 7 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index ea2088737c..b3e3f8072f 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,6 +1,13 @@
2004-03-10 Jeffrey Stedfast <fejj@ximian.com>
- Partial fix for bug #53862
+ * 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.
+
+ Partial fix for bug #53862.
* em-folder-selector.c (emfs_response): Connect to the newly added
"folder-added" signal and save a created_uri string so that we can
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);
diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c
index b7b432e72c..e1d3f95159 100644
--- a/mail/em-format-html-display.c
+++ b/mail/em-format-html-display.c
@@ -752,7 +752,6 @@ static void
efhd_xpkcs7mime_validity_clicked(GtkWidget *button, EMFormatHTMLPObject *pobject)
{
struct _smime_pobject *po = (struct _smime_pobject *)pobject;
- const char *alt_desc = NULL;
GladeXML *xml;
GtkWidget *vbox, *w;