aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-04-27 07:36:10 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-04-27 07:36:10 +0800
commit6722d22f5fba8217d396c0d8555bf78ffb0634e9 (patch)
tree805d51a00a5678e2c8fe3babc6c46f4eb218817e /mail
parent6738df5abdfc2346493140ab1e54421fa8f45977 (diff)
downloadgsoc2013-evolution-6722d22f5fba8217d396c0d8555bf78ffb0634e9.tar.gz
gsoc2013-evolution-6722d22f5fba8217d396c0d8555bf78ffb0634e9.tar.zst
gsoc2013-evolution-6722d22f5fba8217d396c0d8555bf78ffb0634e9.zip
Don't filter on Seen status. (previous_msg): Same. (next_unread_msg): New
2001-04-26 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (next_msg): Don't filter on Seen status. (previous_msg): Same. (next_unread_msg): New function that does what the old callback next_msg callback did (only better named). (previous_unread_msg): Same. svn path=/trunk/; revision=9605
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-callbacks.c24
-rw-r--r--mail/mail-callbacks.h2
3 files changed, 30 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 2b9a41807d..431513adeb 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,11 @@
2001-04-26 Jeffrey Stedfast <fejj@ximian.com>
+ * mail-callbacks.c (next_msg): Don't filter on Seen status.
+ (previous_msg): Same.
+ (next_unread_msg): New function that does what the old callback
+ next_msg callback did (only better named).
+ (previous_unread_msg): Same.
+
* message-list.c (hide_load_state): Updated to use camel-file-util
routines.
(hide_save_1): Same.
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index 18407ee6a4..8f42ebdbe8 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -707,7 +707,7 @@ reply_to_all (GtkWidget *widget, gpointer user_data)
return;
mail_reply (fb->folder, fb->mail_display->current_message,
- fb->message_list->cursor_uid, TRUE);
+ fb->message_list->cursor_uid, TRUE);
}
void
@@ -1333,13 +1333,33 @@ next_msg (GtkWidget *button, gpointer user_data)
int row;
row = e_tree_row_of_node(fb->message_list->tree, e_tree_get_cursor (fb->message_list->tree));
+ message_list_select (fb->message_list, row, MESSAGE_LIST_SELECT_NEXT, 0, 0);
+}
+
+void
+previous_msg (GtkWidget *button, gpointer user_data)
+{
+ FolderBrowser *fb = FOLDER_BROWSER (user_data);
+ int row;
+
+ row = e_tree_row_of_node(fb->message_list->tree, e_tree_get_cursor (fb->message_list->tree));
+ message_list_select (fb->message_list, row, MESSAGE_LIST_SELECT_PREVIOUS, 0, 0);
+}
+
+void
+next_unread_msg (GtkWidget *button, gpointer user_data)
+{
+ FolderBrowser *fb = FOLDER_BROWSER (user_data);
+ int row;
+
+ row = e_tree_row_of_node(fb->message_list->tree, e_tree_get_cursor (fb->message_list->tree));
message_list_select (fb->message_list, row,
MESSAGE_LIST_SELECT_NEXT,
0, CAMEL_MESSAGE_SEEN);
}
void
-previous_msg (GtkWidget *button, gpointer user_data)
+previous_unread_msg (GtkWidget *button, gpointer user_data)
{
FolderBrowser *fb = FOLDER_BROWSER (user_data);
int row;
diff --git a/mail/mail-callbacks.h b/mail/mail-callbacks.h
index 2e9e9b855a..ae4bdb0c63 100644
--- a/mail/mail-callbacks.h
+++ b/mail/mail-callbacks.h
@@ -69,6 +69,8 @@ void view_msg (GtkWidget *widget, gpointer user_data);
void view_source (GtkWidget *widget, gpointer user_data);
void next_msg (GtkWidget *widget, gpointer user_data);
void previous_msg (GtkWidget *widget, gpointer user_data);
+void next_unred_msg (GtkWidget *widget, gpointer user_data);
+void previous_unread_msg (GtkWidget *widget, gpointer user_data);
void resend_msg (GtkWidget *widget, gpointer user_data);
void search_msg (GtkWidget *widget, gpointer user_data);