aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-callbacks.c8
-rw-r--r--mail/mail-local.c5
3 files changed, 13 insertions, 6 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 1d93dc62ee..b6d217fa29 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,10 @@
2000-08-11 Peter Williams <peterw@helixcode.com>
+ * mail-local.c (local_reconfigure_folder): Make the dialog
+ modal.
+
+ * mail-callbacks.c (select_first_unread): Fix some warnings.
+
* mail-threads.c (mail_op_forward_event): New function that
writes a FORWARD_EVENT signal to the compipe, to allow Camel
events to be handled in the main thread.
@@ -15,7 +20,6 @@
(message_changed): Same as above.
(main_message_changed): Same as above.
-
* mail-format.c (free_byte_array): Note about using
mail_op_forward_event. (cmm_destroyed): Same.
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index d67c9d90ad..10e3c93b01 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -69,19 +69,19 @@ check_configured (void)
}
static void
-main_select_first_unread (CamelFolder *folder, gpointer event_data, gpointer data)
+main_select_first_unread (CamelObject *object, gpointer event_data, gpointer data)
{
FolderBrowser *fb = FOLDER_BROWSER (data);
- ETable *table = E_TABLE_SCROLLED (fb->message_list->etable)->table;
+ /*ETable *table = E_TABLE_SCROLLED (fb->message_list->etable)->table;*/
message_list_select (fb->message_list, -1, MESSAGE_LIST_SELECT_NEXT,
0, CAMEL_MESSAGE_SEEN);
}
static void
-select_first_unread (CamelFolder *folder, gpointer event_data, gpointer data)
+select_first_unread (CamelObject *object, gpointer event_data, gpointer data)
{
- mail_op_forward_event (main_select_first_unread, folder, event_data, data);
+ mail_op_forward_event (main_select_first_unread, object, event_data, data);
}
void
diff --git a/mail/mail-local.c b/mail/mail-local.c
index 883d10926c..f5ac994dd4 100644
--- a/mail/mail-local.c
+++ b/mail/mail-local.c
@@ -495,6 +495,9 @@ local_reconfigure_folder(FolderBrowser *fb)
((CamelService *)store)->url->protocol);
gtk_signal_connect((GtkObject *)gd, "clicked", reconfigure_clicked, data);
- gtk_widget_show((GtkWidget *)gd);
gtk_object_unref((GtkObject *)gui);
+
+ GDK_THREADS_ENTER ();
+ gnome_dialog_run_and_close (GNOME_DIALOG (gd));
+ GDK_THREADS_LEAVE ();
}