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 bb987f978f3751a920e800a57ee6c789807aea36..9d206a0c30a3069d8873f1dacf19ffb5ba23d213 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 68c3921301cf3196e3d09f287d1ac33471e995c3..dc42f562cca33a8fad50ec8a1519429b3747e2d6 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);