make 'Follow-up and reply to' sensitive
authorPaul Mangan <paul@claws-mail.org>
Wed, 26 Sep 2001 10:34:08 +0000 (10:34 +0000)
committerPaul Mangan <paul@claws-mail.org>
Wed, 26 Sep 2001 10:34:08 +0000 (10:34 +0000)
ChangeLog.claws
configure.in
src/mainwindow.c

index fc392ad0ad00451a48c0aa4dce8161aa2b8dc292..04161f555a360b1bc93ce502a5c8f34a0827ec6e 100644 (file)
@@ -1,3 +1,10 @@
+2001-09-26 [paul]      0.6.2claws6
+
+       * src/mainwindow.c
+               make 'Follow-up and reply to' sensitive
+
+       * more sync with sylpheed 0.6.2cvs5
+
 2001-09-25 [melvin]
 
        * 0.6.2claws5
index 4711411b25563627bec8920ca64e0a55442f68cd..b1d5db62f611cd288ad6f43e14c872ebab82bddd 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=6
 MICRO_VERSION=2
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws5
+EXTRA_VERSION=claws6
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl
index c4c4e5cad3ef3918285fd4e80bc3b1914ac5a3f5..63fdb96ecd0ef6fc44d2573cfa38caf114b44eac 100644 (file)
@@ -1223,7 +1223,8 @@ typedef enum
        M_ALLOW_REEDIT        = 1 << 5,
        M_HAVE_ACCOUNT        = 1 << 6,
        M_THREADED            = 1 << 7,
-       M_UNTHREADED          = 1 << 8
+       M_UNTHREADED          = 1 << 8,
+       M_NEWS                = 1 << 9
 } SensitiveCond;
 
 static SensitiveCond main_window_get_current_state(MainWindow *mainwin)
@@ -1251,6 +1252,9 @@ static SensitiveCond main_window_get_current_state(MainWindow *mainwin)
        if (mainwin->summaryview->folder_item &&
            mainwin->summaryview->folder_item->folder->type != F_NEWS)
                state |= M_EXEC;
+       if (mainwin->summaryview->folder_item &&
+           mainwin->summaryview->folder_item->folder->type == F_NEWS)
+               state |= M_NEWS;
        if (selection == SUMMARY_SELECTED_SINGLE &&
            (mainwin->summaryview->folder_item &&
             (mainwin->summaryview->folder_item->stype == F_DRAFT ||
@@ -1322,15 +1326,16 @@ void main_window_set_menu_sensitive(MainWindow *mainwin)
                {"/View/Show all header"      , M_SINGLE_TARGET_EXIST},
                {"/View/View source"          , M_SINGLE_TARGET_EXIST},
 
-               {"/Message/Get new mail"         , M_HAVE_ACCOUNT|M_UNLOCKED},
-               {"/Message/Get from all accounts", M_HAVE_ACCOUNT|M_UNLOCKED},
-/*             {"/Message/Compose new message"  , M_HAVE_ACCOUNT}, */
-               {"/Message/Reply"                , M_HAVE_ACCOUNT|M_SINGLE_TARGET_EXIST},
-               {"/Message/Reply to sender"      , M_HAVE_ACCOUNT|M_SINGLE_TARGET_EXIST},
-               {"/Message/Reply to all"         , M_HAVE_ACCOUNT|M_SINGLE_TARGET_EXIST},
-               {"/Message/Forward"              , M_HAVE_ACCOUNT|M_SINGLE_TARGET_EXIST},
-               {"/Message/Forward as attachment", M_HAVE_ACCOUNT|M_SINGLE_TARGET_EXIST},
-               {"/Message/Open in new window"   , M_SINGLE_TARGET_EXIST},
+               {"/Message/Get new mail"          , M_HAVE_ACCOUNT|M_UNLOCKED},
+               {"/Message/Get from all accounts" , M_HAVE_ACCOUNT|M_UNLOCKED},
+/*             {"/Message/Compose new message"   , M_HAVE_ACCOUNT}, */
+               {"/Message/Reply"                 , M_HAVE_ACCOUNT|M_SINGLE_TARGET_EXIST},
+               {"/Message/Reply to sender"       , M_HAVE_ACCOUNT|M_SINGLE_TARGET_EXIST},
+               {"/Message/Reply to all"          , M_HAVE_ACCOUNT|M_SINGLE_TARGET_EXIST},
+               {"/Message/Follow-up and reply to", M_HAVE_ACCOUNT|M_SINGLE_TARGET_EXIST|M_NEWS},
+               {"/Message/Forward"               , M_HAVE_ACCOUNT|M_SINGLE_TARGET_EXIST},
+               {"/Message/Forward as attachment" , M_HAVE_ACCOUNT|M_SINGLE_TARGET_EXIST},
+               {"/Message/Open in new window"    , M_SINGLE_TARGET_EXIST},
                {"/Message/Re-edit", M_HAVE_ACCOUNT|M_ALLOW_REEDIT},
                {"/Message/Move...", M_TARGET_EXIST|M_EXEC|M_UNLOCKED},
                {"/Message/Copy...", M_TARGET_EXIST|M_EXEC|M_UNLOCKED},