property of attachment / news message count
authorHoà Viêt Dinh <dinh.viet.hoa@free.fr>
Sun, 17 Mar 2002 13:29:22 +0000 (13:29 +0000)
committerHoà Viêt Dinh <dinh.viet.hoa@free.fr>
Sun, 17 Mar 2002 13:29:22 +0000 (13:29 +0000)
ChangeLog.claws
configure.in
src/compose.c
src/news.c

index 4f89511..e10ea6f 100644 (file)
@@ -1,3 +1,11 @@
+2002-03-17 [hoa]       0.7.3claws20
+
+       * src/news.c
+               fixed the count of new messages
+
+       * src/compose.c
+               fixed the "attachment properties" window
+
 2002-03-17 [paul]      0.7.4claws19
 
        * src/defs.h
index d431a7a..5147e4f 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=7
 MICRO_VERSION=4
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws19
+EXTRA_VERSION=claws20
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 3098916..c96f057 100644 (file)
@@ -5221,7 +5221,7 @@ static void compose_attach_property_create(gboolean *cancelled)
                         GTK_EXPAND|GTK_SHRINK|GTK_FILL, 0, 0, 0);
 
        optmenu = gtk_option_menu_new();
-       gtk_box_pack_start(GTK_BOX(hbox), optmenu, FALSE, FALSE, 0);
+       gtk_box_pack_start(GTK_BOX(hbox), optmenu, TRUE, TRUE, 0);
 
        optmenu_menu = gtk_menu_new();
        MENUITEM_ADD(optmenu_menu, menuitem, "7bit", ENC_7BIT);
index ee79442..9bff6fc 100644 (file)
@@ -351,16 +351,13 @@ void news_scan_group(Folder *folder, FolderItem *item)
        }
        g_free(path);
 
-       if (first < min) {
-               new = unread = total = num;
-       } else if (max < first) {
-               new = unread = total = num;
-       } else if (last > max) {
+       if (last >= max) {
                new += last - max;
                unread += last - max;
                if (new > num) new = num;
                if (unread > num) unread = num;
        }
+
        item->new = new;
        item->unread = unread;
        item->total = num;