2005-10-05 [paul] 1.9.15cvs13
authorPaul Mangan <paul@claws-mail.org>
Wed, 5 Oct 2005 09:48:57 +0000 (09:48 +0000)
committerPaul Mangan <paul@claws-mail.org>
Wed, 5 Oct 2005 09:48:57 +0000 (09:48 +0000)
* src/mainwindow.c
* src/mainwindow.h
fix disabled Execute menu item
* src/toolbar.c
match the change in 1.9.15cvs10: use Compose
instead of News by default

ChangeLog-gtk2.claws
PATCHSETS
configure.ac
src/mainwindow.c
src/mainwindow.h
src/toolbar.c

index 680f1e66e7cf469a20521bbc0a9c316b0659e1d3..ff418f5cd4e30c1bcdd68b31b7decda9ac99932c 100644 (file)
@@ -1,3 +1,12 @@
+2005-10-05 [paul]      1.9.15cvs13
+
+       * src/mainwindow.c
+       * src/mainwindow.h
+               fix disabled Execute menu item
+       * src/toolbar.c
+               match the change in 1.9.15cvs10: use Compose
+               instead of News by default
+
 2005-10-04 [colin]     1.9.15cvs12
 
        * src/compose.c
index f593862bc0d894505f446ee3d01268a1978682a8..bcd3f8d5298b475fb843d33f7f6533fffe1da577 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.43.2.26 -r 1.43.2.27 src/toolbar.c;  ) > 1.9.15cvs10.patchset
 ( cvs diff -u -r 1.14.2.23 -r 1.14.2.24 src/plugins/trayicon/trayicon.c;  ) > 1.9.15cvs11.patchset
 ( cvs diff -u -r 1.382.2.178 -r 1.382.2.179 src/compose.c;  ) > 1.9.15cvs12.patchset
+( cvs diff -u -r 1.274.2.68 -r 1.274.2.69 src/mainwindow.c;  cvs diff -u -r 1.39.2.8 -r 1.39.2.9 src/mainwindow.h;  cvs diff -u -r 1.43.2.27 -r 1.43.2.28 src/toolbar.c;  ) > 1.9.15cvs13.patchset
index 1dc78c01f355931308d1a880f97e8966852ac8f8..9216461bfbc351fa4ea96c05a44eb1c707a606ac 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=15
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=12
+EXTRA_VERSION=13
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 7cc3a905fdfc02e771a817e235df980f2e5a549c..c3f04ca8c35bf8eaccc958f27cb1333a471244ce 100644 (file)
@@ -1762,8 +1762,10 @@ SensitiveCond main_window_get_current_state(MainWindow *mainwin)
        if (inc_is_active())
                state |= M_INC_ACTIVE;
 
-       if (mainwin->summaryview->deleted > 0)
-               state |= M_DELAYED_FLAGS;
+       if (mainwin->summaryview->deleted > 0 ||
+           mainwin->summaryview->moved > 0 ||
+           mainwin->summaryview->copied > 0)
+               state |= M_DELAY_EXEC;
 
        return state;
 }
@@ -1851,7 +1853,6 @@ void main_window_set_menu_sensitive(MainWindow *mainwin)
                {"/Tools/Create filter rule"           , M_SINGLE_TARGET_EXIST|M_UNLOCKED},
                {"/Tools/Actions"                      , M_TARGET_EXIST|M_UNLOCKED},
                {"/Tools/Execute"                      , M_DELAY_EXEC},
-               {"/Tools/Execute"                      , M_DELAYED_FLAGS},
                {"/Tools/Delete duplicated messages/In selected folder"   , M_MSG_EXIST|M_ALLOW_DELETE|M_UNLOCKED},
 
                {"/Configuration", M_UNLOCKED},
index f859e93b7ae979d48006f737c2c7ea2375def589..b2c3dc923fe8f340414eacd6d996cfa415127a0c 100644 (file)
@@ -48,8 +48,7 @@ typedef enum
        M_HAVE_NEWS_ACCOUNT   = 1 << 12,
        M_HIDE_READ_MSG       = 1 << 13,
        M_DELAY_EXEC          = 1 << 14,
-       M_NOT_NEWS            = 1 << 15,
-       M_DELAYED_FLAGS       = 1 << 16
+       M_NOT_NEWS            = 1 << 15
 } SensitiveCond;
 
 typedef enum
index c55f01748c0dff88c354a5b4cfb2d3da8cde4df9..c5f7717256ed933e11e507728c54c13070cabb9d 100644 (file)
@@ -1428,7 +1428,7 @@ Toolbar *toolbar_create(ToolbarType        type,
                case A_COMPOSE_EMAIL:
                        icon_news = stock_pixmap_widget(container, STOCK_PIXMAP_NEWS_COMPOSE);
                        item_news = gtk_toolbar_append_item(GTK_TOOLBAR(toolbar),
-                                                           _("News"),
+                                                           _("Compose"),
                                                            (""),
                                                            (""),
                                                            icon_news, G_CALLBACK(toolbar_buttons_cb),