aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/message-list.c12
2 files changed, 11 insertions, 6 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 455d1f4888..81d1a1c542 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-25 Christopher James Lahey <clahey@helixcode.com>
+
+ * message-list.c: Made the message list pay attention to the
+ "cursor_activated" signal instead of the "cursor_change" signal.
+
2001-01-25 Ettore Perazzoli <ettore@ximian.com>
* folder-browser-factory.c (update_pixmaps): Set the print icon
diff --git a/mail/message-list.c b/mail/message-list.c
index 1c502ff9a8..46e3b772a5 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -96,7 +96,7 @@ typedef struct _EMailAddress EMailAddress;
static ETableScrolledClass *message_list_parent_class;
-static void on_cursor_change_cmd (ETableScrolled *table, int row, gpointer user_data);
+static void on_cursor_activated_cmd (ETableScrolled *table, int row, gpointer user_data);
static gint on_click (ETableScrolled *table, gint row, gint col, GdkEvent *event, MessageList *list);
static char *filter_date (time_t date);
static char *filter_size (int size);
@@ -1286,8 +1286,8 @@ message_list_construct (MessageList *message_list)
g_free (spec);
gtk_object_sink (GTK_OBJECT (extras));
- gtk_signal_connect (GTK_OBJECT (message_list->table), "cursor_change",
- GTK_SIGNAL_FUNC (on_cursor_change_cmd),
+ gtk_signal_connect (GTK_OBJECT (message_list->table), "cursor_activated",
+ GTK_SIGNAL_FUNC (on_cursor_activated_cmd),
message_list);
gtk_signal_connect (GTK_OBJECT (message_list->table), "click",
@@ -2067,7 +2067,7 @@ message_list_set_folder (MessageList *message_list, CamelFolder *camel_folder)
E_MAKE_TYPE (message_list, "MessageList", MessageList, message_list_class_init, message_list_init, PARENT_TYPE);
static gboolean
-on_cursor_change_idle (gpointer data)
+on_cursor_activated_idle (gpointer data)
{
MessageList *message_list = data;
@@ -2079,7 +2079,7 @@ on_cursor_change_idle (gpointer data)
}
static void
-on_cursor_change_cmd (ETableScrolled *table, int row, gpointer user_data)
+on_cursor_activated_cmd (ETableScrolled *table, int row, gpointer user_data)
{
MessageList *message_list;
@@ -2090,7 +2090,7 @@ on_cursor_change_cmd (ETableScrolled *table, int row, gpointer user_data)
if (!message_list->idle_id) {
message_list->idle_id =
- g_idle_add_full (G_PRIORITY_LOW, on_cursor_change_idle,
+ g_idle_add_full (G_PRIORITY_LOW, on_cursor_activated_idle,
message_list, NULL);
}
}