diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 8 | ||||
-rw-r--r-- | mail/folder-browser.c | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 794d5dc78d..a5b3f14f67 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,11 @@ +2002-10-01 Not Zed <NotZed@Ximian.com> + + * folder-browser.c (on_cursor_activated): cursor activated on + etable is required to know when the selection changes on a single + row, update selection changed info with this signal too. Sounds + like an etable bug to me, but this fixes #29808. + (folder_browser_gui_init): Hook onto above signal. + 2002-09-30 Aaron Weber <aaron@ximian.com> * mail-signature-editor.c (mail_signature_editor): change diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 2d75b9e4e0..fb58220e7f 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -2269,6 +2269,13 @@ on_selection_changed (GtkObject *obj, gpointer user_data) update_status_bar_idle(fb); } + +static void +on_cursor_activated(ETree *tree, int row, ETreePath path, gpointer user_data) +{ + on_selection_changed((GtkObject *)tree, user_data); +} + static void fb_resize_cb (GtkWidget *w, GtkAllocation *a, FolderBrowser *fb) { @@ -2320,6 +2327,7 @@ folder_browser_gui_init (FolderBrowser *fb) esm = e_tree_get_selection_model (E_TREE (fb->message_list->tree)); gtk_signal_connect (GTK_OBJECT (esm), "selection_changed", on_selection_changed, fb); + gtk_signal_connect (GTK_OBJECT (esm), "cursor_activated", on_cursor_activated, fb); fb->selection_state = FB_SELSTATE_NONE; /* default to none */ e_paned_add1 (E_PANED (fb->vpaned), GTK_WIDGET (fb->message_list)); |