aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-03-09 05:52:27 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-03-09 05:52:27 +0800
commitb55ef8b5232d98892526560ac2c974e1a3f8adee (patch)
tree68bccad18a395111c2caf173c7a46a89084d1205
parent61066010dcf502a4e3879b8539b92dde34bb27ff (diff)
downloadgsoc2013-evolution-b55ef8b5232d98892526560ac2c974e1a3f8adee.tar
gsoc2013-evolution-b55ef8b5232d98892526560ac2c974e1a3f8adee.tar.gz
gsoc2013-evolution-b55ef8b5232d98892526560ac2c974e1a3f8adee.tar.bz2
gsoc2013-evolution-b55ef8b5232d98892526560ac2c974e1a3f8adee.tar.lz
gsoc2013-evolution-b55ef8b5232d98892526560ac2c974e1a3f8adee.tar.xz
gsoc2013-evolution-b55ef8b5232d98892526560ac2c974e1a3f8adee.tar.zst
gsoc2013-evolution-b55ef8b5232d98892526560ac2c974e1a3f8adee.zip
Call open_msg here so that it does the Right Thing (tm).
2001-03-08 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (on_double_click): Call open_msg here so that it does the Right Thing (tm). svn path=/trunk/; revision=8600
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/folder-browser.c4
-rw-r--r--mail/mail-callbacks.c6
3 files changed, 10 insertions, 5 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index a7ccac55fd..ba09dd6f11 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,10 @@
2001-03-08 Jeffrey Stedfast <fejj@ximian.com>
+ * folder-browser.c (on_double_click): Call open_msg here so that
+ it does the Right Thing (tm).
+
+2001-03-08 Jeffrey Stedfast <fejj@ximian.com>
+
* mail-local.c (mail_local_store_class_init): Override the default
init_trash() with the our custom one (since MailLocalStore doesn't
let the CamelStore keep a hash of opened folders and instead
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index 42fa8d35fa..f082ad18f1 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -786,8 +786,8 @@ on_double_click (ETable *table, gint row, gint col, GdkEvent *event, FolderBrows
*/
if (MESSAGE_LIST_COLUMN_IS_ACTIVE (col))
return;
-
- view_msg (NULL, fb);
+
+ open_msg (NULL, fb);
}
static void
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index dd7c629b0f..b4356d05e5 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -974,7 +974,7 @@ edit_msg (GtkWidget *widget, gpointer user_data)
uids = g_ptr_array_new ();
message_list_foreach (fb->message_list, enumerate_msg, uids);
- mail_get_messages(fb->folder, uids, do_edit_messages, fb);
+ mail_get_messages (fb->folder, uids, do_edit_messages, fb);
}
static void
@@ -1305,7 +1305,7 @@ do_view_message(CamelFolder *folder, char *uid, CamelMimeMessage *message, void
{
/*FolderBrowser *fb = data;*/
GtkWidget *view;
-
+
if (message) {
view = mail_view_create(folder, uid, message);
gtk_widget_show(view);
@@ -1318,7 +1318,7 @@ view_msg (GtkWidget *widget, gpointer user_data)
FolderBrowser *fb = user_data;
GPtrArray *uids;
int i;
-
+
if (!fb->folder)
return;