aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-02-23 03:48:43 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-02-23 03:48:43 +0800
commit843b7d2c827b7dfed4cec00f52d5ba676a58d551 (patch)
tree535f6bbdbf55528a90150e8457001390f13e7713 /mail/message-list.c
parent4060f43d87afa7556708134d6f1ad0ce34af7d09 (diff)
downloadgsoc2013-evolution-843b7d2c827b7dfed4cec00f52d5ba676a58d551.tar.gz
gsoc2013-evolution-843b7d2c827b7dfed4cec00f52d5ba676a58d551.tar.zst
gsoc2013-evolution-843b7d2c827b7dfed4cec00f52d5ba676a58d551.zip
Removed, this wasn't working as intended and seemed to break other
2002-02-22 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (on_message_list_built): Removed, this wasn't working as intended and seemed to break other features. svn path=/trunk/; revision=15801
Diffstat (limited to 'mail/message-list.c')
-rw-r--r--mail/message-list.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index de11443503..b8eb9f9fc7 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -109,7 +109,6 @@ typedef struct _EMailAddress EMailAddress;
static ETreeScrolledClass *message_list_parent_class;
static void on_cursor_activated_cmd (ETree *tree, int row, ETreePath path, gpointer user_data);
-static void on_message_list_built (MessageList *message_list, gpointer user_data);
static gint on_click (ETree *tree, gint row, ETreePath path, gint col, GdkEvent *event, MessageList *list);
static char *filter_date (time_t date);
static char *filter_size (int size);
@@ -1275,9 +1274,6 @@ message_list_construct (MessageList *message_list)
gtk_signal_connect (GTK_OBJECT (message_list->tree), "click",
GTK_SIGNAL_FUNC (on_click), message_list);
-
- gtk_signal_connect (GTK_OBJECT (message_list), "message_list_built",
- GTK_SIGNAL_FUNC (on_message_list_built), message_list);
}
GtkWidget *
@@ -2046,31 +2042,6 @@ on_cursor_activated_cmd (ETree *tree, int row, ETreePath path, gpointer user_dat
}
}
-static void
-on_message_list_built (MessageList *message_list, gpointer user_data)
-{
- GtkWidget *widget = GTK_WIDGET (message_list);
-
- if (!GTK_WIDGET_VISIBLE (widget))
- return;
-
- if (!GTK_WIDGET_HAS_FOCUS (widget))
- gtk_widget_grab_focus (widget);
-
- if (!e_tree_get_cursor (message_list->tree)) {
- CamelMessageInfo *info;
- ETreePath node;
-
- node = e_tree_node_at_row (message_list->tree, 0);
- e_tree_set_cursor (message_list->tree, node);
-
- info = e_tree_memory_node_get_data (E_TREE_MEMORY (message_list->model), node);
- if (info && info->flags & CAMEL_MESSAGE_SEEN)
- message_list_select (message_list, MESSAGE_LIST_SELECT_NEXT,
- 0, CAMEL_MESSAGE_SEEN, FALSE);
- }
-}
-
static gint
on_click (ETree *tree, gint row, ETreePath path, gint col, GdkEvent *event, MessageList *list)
{