aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-13 07:09:12 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-06-13 07:45:56 +0800
commitef54e65fb925d5b207b185ada8cefe396125b789 (patch)
tree4dfedd7de2be929320557efead6c21a2a185c170 /mail/message-list.c
parent4ff2d9010e671d048804d0b582f279384f044bc1 (diff)
downloadgsoc2013-evolution-ef54e65fb925d5b207b185ada8cefe396125b789.tar.gz
gsoc2013-evolution-ef54e65fb925d5b207b185ada8cefe396125b789.tar.zst
gsoc2013-evolution-ef54e65fb925d5b207b185ada8cefe396125b789.zip
message_list_set_folder: Remove unused "outgoing" parameter.
Diffstat (limited to 'mail/message-list.c')
-rw-r--r--mail/message-list.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index c5fe5f4144..ecd294251d 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -2165,8 +2165,7 @@ message_list_save_state (MessageList *ml)
}
static void
-message_list_setup_etree (MessageList *message_list,
- gboolean outgoing)
+message_list_setup_etree (MessageList *message_list)
{
/* build the spec based on the folder, and possibly from a saved file */
/* otherwise, leave default */
@@ -3707,16 +3706,12 @@ folder_changed (CamelFolder *folder,
* message_list_set_folder:
* @message_list: Message List widget
* @folder: folder backend to be set
- * @outgoing: whether this is an outgoing folder
*
- * Sets @folder to be the backend folder for @message_list. If
- * @outgoing is %TRUE, then the message-list UI changes to default to
- * the "Outgoing folder" column view.
+ * Sets @folder to be the backend folder for @message_list.
**/
void
message_list_set_folder (MessageList *message_list,
- CamelFolder *folder,
- gboolean outgoing)
+ CamelFolder *folder)
{
ETreeModel *etm = message_list->model;
gboolean hide_deleted;
@@ -3817,7 +3812,7 @@ message_list_set_folder (MessageList *message_list,
composite_cell_set_strike_col (cell, strikeout_col);
/* Build the etree suitable for this folder */
- message_list_setup_etree (message_list, outgoing);
+ message_list_setup_etree (message_list);
g_signal_connect (
folder, "changed",