Re: [PATCH] Re: ANNOUNCE: balsa-1.3.0 released



That patch looks a little suspect, but with just this applied it 
now works properly.

--- old/balsa-index.c	Sun Dec 16 07:35:22 2001
+++ src/balsa-index.c	Tue Dec 18 21:57:54 2001
@@ -1465,7 +1465,8 @@
 			balsa_index_signals[UNSELECT_MESSAGE],
 			message, NULL);
 
-    if ((sel = GTK_CLIST(widget)->selection) && !g_list_next(sel)) {
+    if (balsa_app.previewpane &&
+	(sel = GTK_CLIST(widget)->selection) && !g_list_next(sel)) {
         message =
             LIBBALSA_MESSAGE(gtk_ctree_node_get_row_data
                              (GTK_CTREE(widget),


Thanks. Willem Riede.
---------------------
On 2001.12.18 20:40 Peter Bloomfield wrote:
> On 2001.12.18 18:25 Willem Riede wrote:
> > In 1.3.0, when I have a sub-range of new (unread) messages selected 
> > in the index while the preview pane is off, and I trash the range, 
> > then the message below the range becomes read even though it isn't. 
> > This is not desired behavior, and did not happen in 1.2.3. Can 
> > whoever caused this change please fix it?
> > 
> > Thanks, Willem Riede.
> 
> I think I might have done.  Here's the patch:
> 
> Index: src/balsa-index.c
> ===================================================================
> RCS file: /cvs/gnome/balsa/src/balsa-index.c,v
> retrieving revision 1.218
> diff -u -r1.218 balsa-index.c
> --- src/balsa-index.c	2001/11/25 22:42:13	1.218
> +++ src/balsa-index.c	2001/12/19 02:04:33
> @@ -112,9 +112,6 @@
>   static void balsa_index_idle_add(gpointer data, gpointer message);
>   static gboolean balsa_index_idle_clear(gpointer data);
>   static void balsa_index_idle_remove(gpointer data);
> -static void balsa_index_idle_add(gpointer data, gpointer message);
> -static gboolean balsa_index_idle_clear(gpointer data);
> -static gint balsa_index_most_recent_message(GtkCList * clist);
>     /* mailbox callbacks */
> @@ -1465,7 +1462,8 @@
>   			balsa_index_signals[UNSELECT_MESSAGE],
>   			message, NULL);
>   -    if ((sel = GTK_CLIST(widget)->selection) && !g_list_next(sel)) {
> +    if (balsa_app.previewpane +        && (sel = 
> GTK_CLIST(widget)->selection) && !g_list_next(sel)) {
>           message =
>               LIBBALSA_MESSAGE(gtk_ctree_node_get_row_data
>                                (GTK_CTREE(widget),
> _______________________________________________
> balsa-list mailing list
> balsa-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/balsa-list
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]