aboutsummaryrefslogtreecommitdiffstats
path: root/mail/ChangeLog
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2002-08-29 02:14:38 +0800
committerPeter Williams <peterw@src.gnome.org>2002-08-29 02:14:38 +0800
commit46cea1ca0b850344f45ff1647a179a88f2299555 (patch)
treebcae0e8190c3f9b782295c6b437fd7120305b2d6 /mail/ChangeLog
parentc56f0963c4f1d11983d4ca8c3c4269bf6d8048cc (diff)
downloadgsoc2013-evolution-46cea1ca0b850344f45ff1647a179a88f2299555.tar.gz
gsoc2013-evolution-46cea1ca0b850344f45ff1647a179a88f2299555.tar.zst
gsoc2013-evolution-46cea1ca0b850344f45ff1647a179a88f2299555.zip
Add some new flags for sensitizing nodes based on the flags of the
2002-08-28 Peter Williams <peterw@ximian.com> * folder-browser-ui.c (default_ui_nodes): Add some new flags for sensitizing nodes based on the flags of the currently selected messages. (folder_browser_ui_add_message): Reset the sensitivity cache when we re-add UI items. (folder_browser_ui_add_list): Same. (folder_browser_ui_add_global): Same. (fbui_sensitise_item): Only cache the sensitivity in the hash table if we actually change it. (folder_browser_ui_scan_selection): New function, getting the bulk of the contents of folder_browser_ui_set_selection_state. Now with code to iterate over the currently selected messages and check their flags so we can sensitize based on them. (folder_browser_ui_set_selection_state): Now just set the selection state if necessary and pass off to _scan_selection. Don't skip of we're trying to go from SELSTATE_SINGLE to SELSTATE_SINGLE, eg, as the flags of the selected messages may have changed. * folder-browser-ui.h: Prototype folder_browser_ui_scan_selection. * folder-browser.c (main_folder_changed): Call folder_browser_ui_scan_selection as the flags on a selected message may have just changed. svn path=/trunk/; revision=17893
Diffstat (limited to 'mail/ChangeLog')
-rw-r--r--mail/ChangeLog26
1 files changed, 26 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index d60bc5b932..e734feb71b 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,31 @@
2002-08-28 Peter Williams <peterw@ximian.com>
+ * folder-browser-ui.c (default_ui_nodes): Add some new flags for
+ sensitizing nodes based on the flags of the currently selected
+ messages.
+ (folder_browser_ui_add_message): Reset the sensitivity cache when
+ we re-add UI items.
+ (folder_browser_ui_add_list): Same.
+ (folder_browser_ui_add_global): Same.
+ (fbui_sensitise_item): Only cache the sensitivity in the hash
+ table if we actually change it.
+ (folder_browser_ui_scan_selection): New function, getting the bulk
+ of the contents of folder_browser_ui_set_selection_state. Now
+ with code to iterate over the currently selected messages and
+ check their flags so we can sensitize based on them.
+ (folder_browser_ui_set_selection_state): Now just set the
+ selection state if necessary and pass off to _scan_selection. Don't
+ skip of we're trying to go from SELSTATE_SINGLE to SELSTATE_SINGLE,
+ eg, as the flags of the selected messages may have changed.
+
+ * folder-browser-ui.h: Prototype folder_browser_ui_scan_selection.
+
+ * folder-browser.c (main_folder_changed): Call
+ folder_browser_ui_scan_selection as the flags on a selected
+ message may have just changed.
+
+2002-08-28 Peter Williams <peterw@ximian.com>
+
* mail-format.c (component_supports): Also check that the component
has PersistStream.
(mail_lookup_handler): Get a list of all components and go with the