2008-05-03 [colin] 3.4.0cvs21
authorColin Leroy <colin@colino.net>
Sat, 3 May 2008 08:17:10 +0000 (08:17 +0000)
committerColin Leroy <colin@colino.net>
Sat, 3 May 2008 08:17:10 +0000 (08:17 +0000)
* src/toolbar.c
Fix bug 1597, 'In news folders, "Move Message to Wastebin"
icon isn't grayed although ineffective'

ChangeLog
PATCHSETS
configure.ac
src/toolbar.c

index 7303789..a2df13c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-05-03 [colin]     3.4.0cvs21
+
+       * src/toolbar.c
+               Fix bug 1597, 'In news folders, "Move Message to Wastebin" 
+               icon isn't grayed although ineffective'
+
 2008-05-02 [wwp]       3.4.0cvs20
 
        * po/fr.po
index c0538e3..3fcc6b5 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.382.2.445 -r 1.382.2.446 src/compose.c;  ) > 3.4.0cvs18.patchset
 ( cvs diff -u -r 1.30.2.48 -r 1.30.2.49 src/prefs_toolbar.c;  ) > 3.4.0cvs19.patchset
 ( cvs diff -u -r 1.42.2.37 -r 1.42.2.38 po/fr.po;  cvs diff -u -r 1.52.2.63 -r 1.52.2.64 src/prefs_folder_item.c;  ) > 3.4.0cvs20.patchset
+( cvs diff -u -r 1.43.2.96 -r 1.43.2.97 src/toolbar.c;  ) > 3.4.0cvs21.patchset
index 086ef5b..be541fb 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=4
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=20
+EXTRA_VERSION=21
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index f8efbc8..2f3a6b3 100644 (file)
@@ -2325,7 +2325,7 @@ void toolbar_main_set_sensitive(gpointer data)
        
        if (toolbar->trash_btn)
                SET_WIDGET_COND(toolbar->trash_btn,
-                       M_TARGET_EXIST|M_ALLOW_DELETE);
+                       M_TARGET_EXIST|M_ALLOW_DELETE|M_NOT_NEWS);
 
        if (toolbar->delete_btn)
                SET_WIDGET_COND(toolbar->delete_btn,