From eeb89358f6f3aa8f211b33c23842a8deb08171a8 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 11 Oct 2007 14:03:13 +0000 Subject: ** Fix for bug #329823 2007-10-11 Milan Crha ** Fix for bug #329823 * Evolution-Shell.idl: (setButtonIcon): * e-sidebar.h: (e_sidebar_change_button_icon): * e-sidebar.c: (struct Button), (button_new), (button_free), (e_sidebar_change_button_icon): * e-shell.h: (EMainShellFunc), (e_shell_foreach_shell_window): * e-shell.c: (EMainShellFunc), (e_shell_foreach_shell_window): * e-component-view.h: (e_component_view_set_button_icon): * e-component-view.c: (e_component_view_set_button_icon): * e-shell-window.h: (e_shell_window_change_component_button_icon): * e-shell-window.c: (e_shell_window_change_component_button_icon): * e-shell-view.c: (struct change_icon_struct), (change_button_icon_func), (impl_ShellView_setButtonIcon), (e_shell_view_class_init): Added support to change component's button icon. * mail-component.h: (mail_indicate_new_mail): * mail-component.c: (mail_indicate_new_mail), (struct _MailComponentPrivate), (impl_dispose), (impl_createView): New function to indicate new mails on sidebar's button and storing component_view in priv struct for later use. * em-folder-view.c: (emfv_list_done_message_selected): * mail-folder-cache.c: (real_flush_updates): Indicate changes like for plugins for new mails. svn path=/trunk/; revision=34374 --- mail/mail-component.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mail/mail-component.h') diff --git a/mail/mail-component.h b/mail/mail-component.h index 63147e38af..901e612a21 100644 --- a/mail/mail-component.h +++ b/mail/mail-component.h @@ -99,4 +99,7 @@ struct _CamelFolder *mail_component_get_folder(MailComponent *mc, enum _mail_com const char *mail_component_get_folder_uri(MailComponent *mc, enum _mail_component_folder_t id); int status_check (GNOME_Evolution_ShellState shell_state); + +void mail_indicate_new_mail (gboolean have_new_mail); + #endif /* _MAIL_COMPONENT_H_ */ -- cgit v1.2.3