aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorPeter Williams <peterw@src.gnome.org>2000-08-12 01:52:02 +0800
committerPeter Williams <peterw@src.gnome.org>2000-08-12 01:52:02 +0800
commite899bab83610f62dcac9e9ec4d71e39e614aa514 (patch)
treed200d4bcc423074454e305b693a1ebb9ed31275c /mail
parent646ae50340a62de5272c9c8f91f2a785ba45039f (diff)
downloadgsoc2013-evolution-e899bab83610f62dcac9e9ec4d71e39e614aa514.tar
gsoc2013-evolution-e899bab83610f62dcac9e9ec4d71e39e614aa514.tar.gz
gsoc2013-evolution-e899bab83610f62dcac9e9ec4d71e39e614aa514.tar.bz2
gsoc2013-evolution-e899bab83610f62dcac9e9ec4d71e39e614aa514.tar.lz
gsoc2013-evolution-e899bab83610f62dcac9e9ec4d71e39e614aa514.tar.xz
gsoc2013-evolution-e899bab83610f62dcac9e9ec4d71e39e614aa514.tar.zst
gsoc2013-evolution-e899bab83610f62dcac9e9ec4d71e39e614aa514.zip
Fix some warnings. Make 'configure folder' a modal dialog.
svn path=/trunk/; revision=4747
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 ();
}