diff options
author | 4 <NotZed@Ximian.com> | 2001-10-24 10:56:06 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-10-24 10:56:06 +0800 |
commit | e4fa983be5e2c6a6496ba02f5391800ecee4575d (patch) | |
tree | 648176650d5c3f1e2b8dac2f225bc2ca89fe6069 /mail/message-browser.c | |
parent | d6088ab1f0e058c35cab4ef247231ca07d456de4 (diff) | |
download | gsoc2013-evolution-e4fa983be5e2c6a6496ba02f5391800ecee4575d.tar.gz gsoc2013-evolution-e4fa983be5e2c6a6496ba02f5391800ecee4575d.tar.zst gsoc2013-evolution-e4fa983be5e2c6a6496ba02f5391800ecee4575d.zip |
all this crap just to make the print icon desensitive at the right time.
fix for #10346
2001-10-24 <NotZed@Ximian.com>
* message-browser.c (message_browser_message_loaded): Call
ui_message_loaded when we are.
* folder-browser-factory.c (control_activate): Freeze/thaw around
all updates.
(control_deactivate): Freeze/thaw around all updates.
* folder-browser.c (folder_browser_init): Setup a hashtable to
keep track of *our* sensitise state, so we can optimise pushes to
bonobo.
(folder_browser_finalise): Free hash here.
(folder_browser_set_message_preview): Call a ui_message_loaded,
even though it isn't, so it updates sensitivities right.
(done_message_selected): Call ui_message_loaded when it really is,
rather than the very fucked up idea of reversing the loaded_uid
check.
* folder-browser-ui.c (folder_browser_ui_set_selection_state):
Dont enable the message-enabled options if the message display is
hidden, e.g. print, view headers, etc.
(folder_browser_ui_rm_all): Forget sensitise state.
(fbui_sensitise_item): Sensitise items via a current-state table,
so we dont have to do bonobo calls every time.
(folder_browser_setup_property_menu): Call sensitise_item.
(folder_browser_ui_add_message):
(folder_browser_ui_add_global): Leave current set_prop "sensitive"
for the stop button, so it doesn't get lost by the stuff in
mail-mt.c
(fbui_real_sensitize_items): Removed.
(fbui_sensitize_timeout): Cleaned up, use sensitise_item to do
work.
(folder_browser_ui_message_loaded): Setup sensitive based on
preview_shown too.
(folder_browser_ui_set_selection_state): And here too.
svn path=/trunk/; revision=13972
Diffstat (limited to 'mail/message-browser.c')
-rw-r--r-- | mail/message-browser.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/message-browser.c b/mail/message-browser.c index 6d7ef49398..71a0a4464d 100644 --- a/mail/message-browser.c +++ b/mail/message-browser.c @@ -109,6 +109,8 @@ message_browser_message_loaded (FolderBrowser *fb, const char *uid, MessageBrows CamelMimeMessage *message; char *subject = NULL; char *title; + + folder_browser_ui_message_loaded(fb); message = fb->mail_display->current_message; |