diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-02-23 03:48:43 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-02-23 03:48:43 +0800 |
commit | 843b7d2c827b7dfed4cec00f52d5ba676a58d551 (patch) | |
tree | 535f6bbdbf55528a90150e8457001390f13e7713 | |
parent | 4060f43d87afa7556708134d6f1ad0ce34af7d09 (diff) | |
download | gsoc2013-evolution-843b7d2c827b7dfed4cec00f52d5ba676a58d551.tar gsoc2013-evolution-843b7d2c827b7dfed4cec00f52d5ba676a58d551.tar.gz gsoc2013-evolution-843b7d2c827b7dfed4cec00f52d5ba676a58d551.tar.bz2 gsoc2013-evolution-843b7d2c827b7dfed4cec00f52d5ba676a58d551.tar.lz gsoc2013-evolution-843b7d2c827b7dfed4cec00f52d5ba676a58d551.tar.xz 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
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/message-browser.c | 4 | ||||
-rw-r--r-- | mail/message-list.c | 29 |
3 files changed, 6 insertions, 32 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index cde1a7e43a..c8e7c614f6 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +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. + 2002-02-21 Ettore Perazzoli <ettore@ximian.com> * component-factory.c (create_component): Add an icon for the "New diff --git a/mail/message-browser.c b/mail/message-browser.c index 07a9278746..76d60172f9 100644 --- a/mail/message-browser.c +++ b/mail/message-browser.c @@ -198,7 +198,7 @@ message_browser_message_loaded (FolderBrowser *fb, const char *uid, MessageBrows CamelMimeMessage *message; char *subject = NULL; char *title; - + folder_browser_ui_message_loaded(fb); message = fb->mail_display->current_message; @@ -241,7 +241,6 @@ message_browser_size_allocate_cb (GtkWidget *widget, GtkAllocation *allocation) { last_allocation = *allocation; - } /* Construction */ @@ -300,7 +299,6 @@ set_bonobo_ui (GtkWidget *widget, FolderBrowser *fb) /* Done */ /*bonobo_ui_component_thaw (uic, NULL);*/ - } GtkWidget * 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) { |