use the selected summary view item, not the displayed item.
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 3 Jun 2001 09:59:11 +0000 (09:59 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 3 Jun 2001 09:59:11 +0000 (09:59 +0000)
ChangeLog.claws
src/headerwindow.c

index bb987f9..9d206a0 100644 (file)
@@ -1,3 +1,10 @@
+2001-06-03 [alfons]
+
+       * src/headerwindow.c:
+
+               (headerwindow_show_cb): use the selected summary view item, not
+               the displayed item.
+
 2001-06-02 [alfons]
 
        * src/headerwindow.c:
index 68c3921..dc42f56 100644 (file)
@@ -156,7 +156,7 @@ void header_window_show(HeaderWindow *headerwin, MsgInfo *msginfo)
 void header_window_show_cb(gpointer data, guint action, GtkWidget *widget)
 {
        MainWindow *mainwin = data;
-       GtkCTreeNode *node = mainwin->summaryview->displayed;
+       GtkCTreeNode *node = mainwin->summaryview->selected;
        MsgInfo *msginfo;
 
        g_return_if_fail(node != NULL);