From d3346e28f758a400fb4b31e16fcc11f059a5f9b1 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Thu, 11 Aug 2005 04:24:17 +0000 Subject: Added a function to force refresh/resize the icons. 2005-08-11 Srinivasa Ragavan * e-attachment-bar.[ch] (e_attachment_bar_refresh): Added a function to force refresh/resize the icons. svn path=/trunk/; revision=30082 --- widgets/misc/ChangeLog | 5 +++++ widgets/misc/e-attachment-bar.c | 6 ++++++ widgets/misc/e-attachment-bar.h | 1 + 3 files changed, 12 insertions(+) (limited to 'widgets/misc') diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index ebacdecdf0..45ec4f3921 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,8 @@ +2005-08-11 Srinivasa Ragavan + + * e-attachment-bar.[ch] (e_attachment_bar_refresh): Added a function + to force refresh/resize the icons. + 2005-08-02 David Malcolm * e-attachment-bar.c: (update_remote_file): escape the "%" character diff --git a/widgets/misc/e-attachment-bar.c b/widgets/misc/e-attachment-bar.c index df13b456e6..c268724759 100644 --- a/widgets/misc/e-attachment-bar.c +++ b/widgets/misc/e-attachment-bar.c @@ -487,6 +487,12 @@ e_attachment_bar_remove_selected (EAttachmentBar *bar) gnome_icon_list_focus_icon (icon_list, left > num ? num : left - 1); } +void +e_attachment_bar_refresh (EAttachmentBar *bar) +{ + update (bar); +} + void e_attachment_bar_edit_selected (EAttachmentBar *bar) { diff --git a/widgets/misc/e-attachment-bar.h b/widgets/misc/e-attachment-bar.h index c9ad12061c..d3896015be 100644 --- a/widgets/misc/e-attachment-bar.h +++ b/widgets/misc/e-attachment-bar.h @@ -81,6 +81,7 @@ void e_attachment_bar_remove_selected (EAttachmentBar *bar); GtkWidget ** e_attachment_bar_get_selector(EAttachmentBar *bar); GSList *e_attachment_bar_get_parts (EAttachmentBar *bar); GSList *e_attachment_bar_get_selected (EAttachmentBar *bar); +void e_attachment_bar_refresh (EAttachmentBar *bar); #ifdef __cplusplus } #endif /* __cplusplus */ -- cgit v1.2.3