diff options
author | Dan Winship <danw@src.gnome.org> | 2001-05-16 02:45:42 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-05-16 02:45:42 +0800 |
commit | dadc54fa9885cbe38e84ed667fea13c9d3ee7603 (patch) | |
tree | a358f95b9e0d9b375a860f0b3d77a5d6fe1c7c9f /mail/mail-callbacks.c | |
parent | 7cc37466c122693397465b443811aa20d855c04f (diff) | |
download | gsoc2013-evolution-dadc54fa9885cbe38e84ed667fea13c9d3ee7603.tar.gz gsoc2013-evolution-dadc54fa9885cbe38e84ed667fea13c9d3ee7603.tar.zst gsoc2013-evolution-dadc54fa9885cbe38e84ed667fea13c9d3ee7603.zip |
Load http images if the user has force-loaded images too.
* mail-display.c (on_url_requested): Load http images if the user
has force-loaded images too.
(mail_display_redisplay): Update for normal/headers/source changes.
(mail_display_load_images): New. Force HTTP image loading for the
current message.
* mail-config.c (mail_config_get_message_display_style,
mail_config_set_message_display_style): Updated and renamed from
mail_config_{get,set}_view_source
* mail-callbacks.c (load_images): New.
* folder-browser.c (folder_browser_set_message_display_style):
Renamed and updated from folder_browser_toggle_view_source.
* folder-browser-factory.c (verbs): Add ViewLoadImages.
(control_activate): Update for normal/headers/source change to
radio group.
svn path=/trunk/; revision=9820
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r-- | mail/mail-callbacks.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index ca0ba70d53..fe262c389e 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -1224,6 +1224,14 @@ search_msg (GtkWidget *widget, gpointer user_data) gtk_widget_show_all (w); } +void +load_images (GtkWidget *widget, gpointer user_data) +{ + FolderBrowser *fb = FOLDER_BROWSER (user_data); + + mail_display_load_images (fb->mail_display); +} + static void save_msg_ok (GtkWidget *widget, gpointer user_data) { |