pan-devel
[Top][All Lists]
Advanced

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

[Pan-devel] Next group and pan selection


From: Sam Solon
Subject: [Pan-devel] Next group and pan selection
Date: 24 May 2002 17:55:39 -0400

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 (&current_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;
e




reply via email to

[Prev in Thread] Current Thread [Next in Thread]