2006-06-22 [colin] 2.3.1cvs13
authorColin Leroy <colin@colino.net>
Thu, 22 Jun 2006 06:37:06 +0000 (06:37 +0000)
committerColin Leroy <colin@colino.net>
Thu, 22 Jun 2006 06:37:06 +0000 (06:37 +0000)
* src/mainwindow.c
Add 'View/Go to/Next unread folder'.
I missed that :)

ChangeLog
PATCHSETS
configure.ac
src/mainwindow.c

index b7f3566c185b7f51423517b20205e9368df0c09b..58c2dbd170e6f1367e06b4f754f60a8e79361520 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,14 @@
+2006-06-22 [colin]     2.3.1cvs13
+
+       * src/mainwindow.c
+               Add 'View/Go to/Next unread folder'.
+               I missed that :)
+
 2006-06-22 [colin]     2.3.1cvs12
 
        * src/common/utils.c
                Add some subject prefixes
+               Patch by Bjorn T Johansen <btj@havleik.no>
 
 2006-06-22 [colin]     2.3.1cvs11
 
index a3a5fd3fd5bb636f3885f8c8f2d10a26bf96bf28..b5b9a581654e85d8383b22916cc97d782ff3c5f8 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.105.2.56 -r 1.105.2.57 src/prefs_account.c;  ) > 2.3.1cvs10.patchset
 ( cvs diff -u -r 1.1.2.21 -r 1.1.2.22 manual/advanced.xml;  ) > 2.3.1cvs11.patchset
 ( cvs diff -u -r 1.36.2.66 -r 1.36.2.67 src/common/utils.c;  ) > 2.3.1cvs12.patchset
+( cvs diff -u -r 1.274.2.118 -r 1.274.2.119 src/mainwindow.c;  ) > 2.3.1cvs13.patchset
index 8b624d4764f0cf6a365000c49b852269289fad36..740ca8fcda629e4bcc99e0699ab5ef3fd5055dfa 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=3
 MICRO_VERSION=1
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=12
+EXTRA_VERSION=13
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 865cd9394f3993bf31b2bf04e7c71d4e0dde4d6f..be7cee6ffffd73a1258c40b120913816bdce5688 100644 (file)
@@ -350,6 +350,9 @@ static void next_labeled_cb  (MainWindow    *mainwin,
 static void goto_folder_cb      (MainWindow    *mainwin,
                                  guint          action,
                                  GtkWidget     *widget);
+static void goto_unread_folder_cb(MainWindow   *mainwin,
+                                 guint          action,
+                                 GtkWidget     *widget);
 
 static void copy_cb             (MainWindow    *mainwin,
                                  guint          action,
@@ -572,7 +575,8 @@ static GtkItemFactoryEntry mainwin_entries[] =
        {N_("/_View/_Go to/Next la_beled message"),
                                                NULL, next_labeled_cb, 0, NULL},
        {N_("/_View/_Go to/---"),               NULL, NULL, 0, "<Separator>"},
-       {N_("/_View/_Go to/Other _folder..."),  "G", goto_folder_cb, 0, NULL},
+       {N_("/_View/_Go to/Next unread _folder"),       "<shift>G", goto_unread_folder_cb, 0, NULL},
+       {N_("/_View/_Go to/_Other folder..."),  "G", goto_folder_cb, 0, NULL},
        {N_("/_View/---"),                      NULL, NULL, 0, "<Separator>"},
 
 #define ENC_SEPARATOR \
@@ -3509,6 +3513,12 @@ static void goto_folder_cb(MainWindow *mainwin, guint action,
                folderview_select(mainwin->folderview, to_folder);
 }
 
+static void goto_unread_folder_cb(MainWindow *mainwin, guint action,
+                          GtkWidget *widget)
+{
+       folderview_select_next_unread(mainwin->folderview);
+}
+
 static void copy_cb(MainWindow *mainwin, guint action, GtkWidget *widget)
 {
        messageview_copy_clipboard(mainwin->messageview);