[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pan-devel] Next group and pan selection
From: |
Charles Kerr |
Subject: |
Re: [Pan-devel] Next group and pan selection |
Date: |
Mon, 27 May 2002 18:18:01 -0700 |
User-agent: |
Mutt/1.3.20i |
Committed to CVS, thanks!
On Fri, May 24, 2002 at 05:55:39PM -0400, Sam Solon wrote:
> When using "Next Unread Group" in notebook mode an the view is switched
> to a an empty article pane. This seems to be caused by not checking for
> null in "set_next_article_impl".
>
> Suggested patch follows:
>
>
>
> Index: pan/text.c
> ===================================================================
> RCS file: /cvs/gnome/pan/pan/text.c,v
> retrieving revision 1.296
> diff -u -u -r1.296 text.c
> --- pan/text.c 22 May 2002 12:15:21 -0000 1.296
> +++ pan/text.c 24 May 2002 21:30:29 -0000
> @@ -661,6 +662,7 @@
> pan_unlock ();
>
> articles_set_read (¤t_article, 1, TRUE);
> + gui_queue_add ((GSourceFunc)gui_page_set,
> GINT_TO_POINTER(BODY_PANE));
> }
> else
> {
> @@ -670,7 +672,6 @@
> pan_unlock ();
> }
>
> - gui_queue_add ((GSourceFunc)gui_page_set, GINT_TO_POINTER(BODY_PANE));
>
> debug_exit ("set_current_article_mainthread");
> return 0;