add 'Sort by locked/score'
authorPaul Mangan <paul@claws-mail.org>
Wed, 5 Jun 2002 15:30:56 +0000 (15:30 +0000)
committerPaul Mangan <paul@claws-mail.org>
Wed, 5 Jun 2002 15:30:56 +0000 (15:30 +0000)
ChangeLog.claws
configure.in
src/mainwindow.c

index b0e1a125d399bb71c6029b02a6ea3b9ef46ce47c..685ea6856f849969376a523a009edaea098cd5d7 100644 (file)
@@ -1,3 +1,8 @@
+2002-06-05 [paul]      0.7.6claws31
+
+       * src/mainwindow.c
+               add 'Sort by locked' and 'Sort by score'
+
 2002-06-05 [paul]      0.7.6claws30
 
        * sync with 0.7.6cvs24
index d3eac3312c41b75c294436a5a6221ca26000f528..847c89db5ccb2ac09e976a5da7956d1623de3537 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=7
 MICRO_VERSION=6
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws30
+EXTRA_VERSION=claws31
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 877c4afcaf9d70e15d4ef2ccecbcba56804c4e18..36a7e4ffb50fa663fdf12a8475f880c5f3b5580e 100644 (file)
@@ -552,6 +552,8 @@ static GtkItemFactoryEntry mainwin_entries[] =
        {N_("/_View/_Sort/by _unread"),         NULL, sort_summary_cb, SORT_BY_UNREAD, "/View/Sort/by number"},
        {N_("/_View/_Sort/by a_ttachment"),
                                                NULL, sort_summary_cb, SORT_BY_MIME, "/View/Sort/by number"},
+       {N_("/_View/_Sort/by score"),           NULL, sort_summary_cb, SORT_BY_SCORE, "/View/Sort/by number"},
+       {N_("/_View/_Sort/by locked"),          NULL, sort_summary_cb, SORT_BY_LOCKED, "/View/Sort/by number"},
        {N_("/_View/_Sort/D_on't sort"),        NULL, sort_summary_cb, SORT_BY_NONE, "/View/Sort/by number"},
        {N_("/_View/_Sort/---"),                NULL, NULL, 0, "<Separator>"},
        {N_("/_View/_Sort/Ascending"),          NULL, sort_summary_type_cb, SORT_ASCENDING, "<RadioItem>"},
@@ -1738,6 +1740,10 @@ void main_window_set_menu_sensitive(MainWindow *mainwin)
                        menu_path = "/View/Sort/by unread"; break;
                case SORT_BY_MIME:
                        menu_path = "/View/Sort/by attachment"; break;
+               case SORT_BY_SCORE:
+                       menu_path = "/View/Sort/by score"; break;
+               case SORT_BY_LOCKED:
+                       menu_path = "/View/Sort/by locked"; break;
                case SORT_BY_NONE:
                default:
                        menu_path = "/View/Sort/Don't sort"; break;