aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@HelixCode.com>2000-11-02 11:36:48 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-11-02 11:36:48 +0800
commit6db2305b3345ebb436c81bda685ccf1cb8bcbfa7 (patch)
treee1abcc38d5d1e928d4292424fc6a1b6b0843b006 /mail/folder-browser.c
parentf351369e5127337eb95185ac764b6744faf4b87f (diff)
downloadgsoc2013-evolution-6db2305b3345ebb436c81bda685ccf1cb8bcbfa7.tar.gz
gsoc2013-evolution-6db2305b3345ebb436c81bda685ccf1cb8bcbfa7.tar.zst
gsoc2013-evolution-6db2305b3345ebb436c81bda685ccf1cb8bcbfa7.zip
** Merged in camel-incremental-branch.
2000-11-02 Not Zed <NotZed@HelixCode.com> ** Merged in camel-incremental-branch. * mail-format.c (mail_get_message_body): Jeff! Sigh. We should definetly not be strduping the content, it has already been copied and duplicated. Look at get_data_wrapper_text. svn path=/trunk/; revision=6337
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index a88b5db0ac..6051c26aff 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -165,7 +165,7 @@ search_full_clicked(MailSearchDialogue *msd, guint button, FolderBrowser *fb)
case 0: /* 'ok' */
case 1: /* 'search' */
query = mail_search_dialogue_get_query(msd);
- mail_do_regenerate_messagelist(fb->message_list, query);
+ message_list_set_search(fb->message_list, query);
g_free(query);
/* save the search as well */
if (fb->search_full)
@@ -178,7 +178,7 @@ search_full_clicked(MailSearchDialogue *msd, guint button, FolderBrowser *fb)
case 2: /* 'cancel' */
gnome_dialog_close((GnomeDialog *)msd);
case -1: /* dialogue closed */
- mail_do_regenerate_messagelist(fb->message_list, 0);
+ message_list_set_search(fb->message_list, 0);
/* reset the search buttons state */
gtk_menu_set_active(GTK_MENU(GTK_OPTION_MENU(fb->search_menu)->menu), 0);
gtk_widget_set_sensitive(fb->search_entry, TRUE);
@@ -223,7 +223,7 @@ search_set(FolderBrowser *fb)
if (text == NULL || text[0] == 0) {
if (text)
g_free(text);
- mail_do_regenerate_messagelist (fb->message_list, NULL);
+ message_list_set_search(fb->message_list, NULL);
return;
}
@@ -241,7 +241,7 @@ search_set(FolderBrowser *fb)
str++;
}
}
- mail_do_regenerate_messagelist (fb->message_list, out->str);
+ message_list_set_search(fb->message_list, out->str);
g_string_free(out, TRUE);
g_free (text);
@@ -387,7 +387,7 @@ folder_browser_clear_search (FolderBrowser *fb)
{
gtk_entry_set_text (GTK_ENTRY (fb->search_entry), "");
gtk_option_menu_set_history (GTK_OPTION_MENU (fb->search_menu), 0);
- mail_do_regenerate_messagelist (fb->message_list, NULL);
+ message_list_set_search(fb->message_list, NULL);
}
static int
@@ -432,12 +432,12 @@ etable_key (ETable *table, int row, int col, GdkEvent *ev, FolderBrowser *fb)
case GDK_Home:
case GDK_KP_Home:
- message_list_home (fb->message_list);
+ message_list_select(fb->message_list, 0, MESSAGE_LIST_SELECT_NEXT, 0, 0);
return TRUE;
case GDK_End:
case GDK_KP_End:
- message_list_end (fb->message_list);
+ message_list_select(fb->message_list, -1, MESSAGE_LIST_SELECT_PREVIOUS, 0, 0);
return TRUE;
case 'n':