aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.h
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-08-22 00:00:41 +0800
committerPeter Williams <peterw@src.gnome.org>2001-08-22 00:00:41 +0800
commitee5591ab8403f97732789776bf56b3b444ffcd86 (patch)
tree4a4e2aeeb914a83337c4dfa739e2d4b460d8fd4c /mail/folder-browser.h
parent6ddfda7a024bf55e0573a17449a51c02c157c4cd (diff)
downloadgsoc2013-evolution-ee5591ab8403f97732789776bf56b3b444ffcd86.tar
gsoc2013-evolution-ee5591ab8403f97732789776bf56b3b444ffcd86.tar.gz
gsoc2013-evolution-ee5591ab8403f97732789776bf56b3b444ffcd86.tar.bz2
gsoc2013-evolution-ee5591ab8403f97732789776bf56b3b444ffcd86.tar.lz
gsoc2013-evolution-ee5591ab8403f97732789776bf56b3b444ffcd86.tar.xz
gsoc2013-evolution-ee5591ab8403f97732789776bf56b3b444ffcd86.tar.zst
gsoc2013-evolution-ee5591ab8403f97732789776bf56b3b444ffcd86.zip
Rename to fbui_real_sensitize_items. Now we queue a change and set up a
2001-08-21 Peter Williams <peterw@ximian.com> * folder-browser-ui.c (fbui_sensitize_items): Rename to fbui_real_sensitize_items. Now we queue a change and set up a timeout, making sure weed out redundant changes, fixing flicker. (fbui_sensitize_timeout): New function. The timeout. (fbui_real_sensitize_items): Semi-new function. Rename of old fbui_sensitize_items. (folder_browser_ui_set_selection_state): Pass the FB instead of only the UIC to sensitize_items. (folder_browser_ui_message_loaded): Same. * folder-browser.c (folder_browser_destroy): Kill the new timeout if it is registered. * folder-browser.h: Add some members to FolderBrowser for keeping track of the queue of changes. svn path=/trunk/; revision=12343
Diffstat (limited to 'mail/folder-browser.h')
-rw-r--r--mail/folder-browser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/folder-browser.h b/mail/folder-browser.h
index ea69c7579a..2ade1bff88 100644
--- a/mail/folder-browser.h
+++ b/mail/folder-browser.h
@@ -71,6 +71,8 @@ struct _FolderBrowser {
gboolean pref_master;
FolderBrowserSelectionState selection_state;
+ GSList *sensitize_changes;
+ int sensitize_timeout_id;
/* View collection and the menu handler object */
GalViewCollection *view_collection;