diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2001-01-26 00:19:31 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-01-26 00:19:31 +0800 |
commit | 9100d6bcdd7928ddd74587ba58367658816bffe5 (patch) | |
tree | c8998da64628dcbacb666a92ffe4a8577e1a0279 /mail/message-list.c | |
parent | 22ab36ee52994c718c655a5d64fb1d7f36ac5f03 (diff) | |
download | gsoc2013-evolution-9100d6bcdd7928ddd74587ba58367658816bffe5.tar.gz gsoc2013-evolution-9100d6bcdd7928ddd74587ba58367658816bffe5.tar.zst gsoc2013-evolution-9100d6bcdd7928ddd74587ba58367658816bffe5.zip |
Made the message list pay attention to the "cursor_activated" signal
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.
svn path=/trunk/; revision=7812
Diffstat (limited to 'mail/message-list.c')
-rw-r--r-- | mail/message-list.c | 12 |
1 files changed, 6 insertions, 6 deletions
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); } } |