diff options
author | Peter Williams <peterw@ximian.com> | 2002-08-29 02:14:38 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2002-08-29 02:14:38 +0800 |
commit | 46cea1ca0b850344f45ff1647a179a88f2299555 (patch) | |
tree | bcae0e8190c3f9b782295c6b437fd7120305b2d6 /camel/camel-charset-map-private.h | |
parent | c56f0963c4f1d11983d4ca8c3c4269bf6d8048cc (diff) | |
download | gsoc2013-evolution-46cea1ca0b850344f45ff1647a179a88f2299555.tar gsoc2013-evolution-46cea1ca0b850344f45ff1647a179a88f2299555.tar.gz gsoc2013-evolution-46cea1ca0b850344f45ff1647a179a88f2299555.tar.bz2 gsoc2013-evolution-46cea1ca0b850344f45ff1647a179a88f2299555.tar.lz gsoc2013-evolution-46cea1ca0b850344f45ff1647a179a88f2299555.tar.xz 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 'camel/camel-charset-map-private.h')
0 files changed, 0 insertions, 0 deletions