sync with 0.8.2cvs8
authorPaul Mangan <paul@claws-mail.org>
Tue, 3 Sep 2002 07:47:27 +0000 (07:47 +0000)
committerPaul Mangan <paul@claws-mail.org>
Tue, 3 Sep 2002 07:47:27 +0000 (07:47 +0000)
ChangeLog
ChangeLog.claws
ChangeLog.jp
configure.in
src/news.c
src/summaryview.c
src/textview.c

index 8aa0ff5..af526ad 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2002-09-03
+
+       * src/textview.c: textview_key_pressed(): pass GDK_Delete event to
+         SummaryView.
+       * src/summaryview.c: summary_key_pressed(): scroll correct TextView
+         on MIME mode.
+
+2002-09-02
+
+       * src/news.c: news_scan_group(): fixed wrong message number
+         calculation.
+
 2002-08-30
 
        * major refactoring for POP3.
index ff284dd..cef7b4d 100644 (file)
@@ -1,3 +1,8 @@
+2002-09-03 [paul]      0.8.2claws24
+
+       * sync with 0.8.2cvs8
+               see ChangeLog 2002-09-02 and 2002-09-03
+
 2002-09-03 [darko]     0.8.2claws23
 
        * src/folderview.c
index acb22f6..9d3337a 100644 (file)
@@ -1,3 +1,14 @@
+2002-09-03
+
+       * src/textview.c: textview_key_pressed(): GDK_Delete ¥¤¥Ù¥ó¥È¤ò
+         SummaryView ¤ËÅϤ¹¤è¤¦¤Ë¤·¤¿¡£
+       * src/summaryview.c: summary_key_pressed(): MIME ¥â¡¼¥É¤Î¤È¤­¤Ë
+         Àµ¤·¤¤ TextView ¤ò¥¹¥¯¥í¡¼¥ë¤¹¤ë¤è¤¦¤Ë¤·¤¿¡£
+
+2002-09-02
+
+       * src/news.c: news_scan_group(): ¸í¤Ã¤¿¥á¥Ã¥»¡¼¥¸¿ô·×»»¤ò½¤Àµ¡£
+
 2002-08-30
 
        * ¼çÍפʠPOP3 ¤Î¥ê¥Õ¥¡¥¯¥¿¥ê¥ó¥°¡£
index 1131534..4b8391f 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=8
 MICRO_VERSION=2
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws23
+EXTRA_VERSION=claws24
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 9bcc3c7..e50ef17 100644 (file)
@@ -424,10 +424,6 @@ gint news_scan_group(Folder *folder, FolderItem *item)
        else {
                if (min < first)
                        min = first;
-               else if (first < min) {
-                       num -= min - first;
-                       first = min;
-               }
 
                if (last < max)
                        max = last;
index 98c22d3..7d590c1 100644 (file)
@@ -4456,6 +4456,8 @@ static void summary_key_pressed(GtkWidget *widget, GdkEventKey *event,
 {
        GtkCTree *ctree = GTK_CTREE(widget);
        GtkCTreeNode *node;
+       MessageView *messageview;
+       TextView *textview;
 
        if (summary_is_locked(summaryview)) return;
        if (!event) return;
@@ -4477,6 +4479,14 @@ static void summary_key_pressed(GtkWidget *widget, GdkEventKey *event,
                        return;
        }
 
+       messageview = summaryview->messageview;
+       if (messageview->type == MVIEW_MIME &&
+           gtk_notebook_get_current_page
+               (GTK_NOTEBOOK(messageview->mimeview->notebook)) == 1)
+               textview = messageview->mimeview->textview;
+       else
+               textview = messageview->textview;
+
        switch (event->keyval) {
        case GDK_space:         /* Page down or go to the next */
                if (summaryview->displayed != summaryview->selected) {
@@ -4484,12 +4494,11 @@ static void summary_key_pressed(GtkWidget *widget, GdkEventKey *event,
                                            summaryview->selected);
                        break;
                }
-               if (!textview_scroll_page(summaryview->messageview->textview,
-                                         FALSE))
+               if (!textview_scroll_page(textview, FALSE))
                        summary_select_next_unread(summaryview);
                break;
        case GDK_BackSpace:     /* Page up */
-               textview_scroll_page(summaryview->messageview->textview, TRUE);
+               textview_scroll_page(textview, TRUE);
                break;
        case GDK_Return:        /* Scroll up/down one line */
                if (summaryview->displayed != summaryview->selected) {
@@ -4497,8 +4506,8 @@ static void summary_key_pressed(GtkWidget *widget, GdkEventKey *event,
                                            summaryview->selected);
                        break;
                }
-               textview_scroll_one_line(summaryview->messageview->textview,
-                                        (event->state & GDK_MOD1_MASK) != 0);
+               textview_scroll_one_line
+                       (textview, (event->state & GDK_MOD1_MASK) != 0);
                break;
        case GDK_asterisk:      /* Mark */
                summary_mark(summaryview);
index 4de3d13..cc9a050 100644 (file)
@@ -1661,6 +1661,10 @@ static gint textview_key_pressed(GtkWidget *widget, GdkEventKey *event,
                textview_scroll_one_line(textview,
                                         (event->state & GDK_MOD1_MASK) != 0);
                break;
+       case GDK_Delete:
+               if (summaryview)
+                       summary_pass_key_press_event(summaryview, event);
+               break;
        case GDK_n:
        case GDK_N:
        case GDK_p: