diff options
author | Larry Ewing <lewing@ximian.com> | 2001-10-21 06:59:16 +0800 |
---|---|---|
committer | Larry Ewing <lewing@src.gnome.org> | 2001-10-21 06:59:16 +0800 |
commit | bb068baabdcba06fb0353077329387982e36b925 (patch) | |
tree | 70bb64a1958b03012560e8818da34b4da2ddc7a7 /mail/mail-callbacks.c | |
parent | 093c2a884deae60f0da5e7b26821895b91834b3e (diff) | |
download | gsoc2013-evolution-bb068baabdcba06fb0353077329387982e36b925.tar.gz gsoc2013-evolution-bb068baabdcba06fb0353077329387982e36b925.tar.zst gsoc2013-evolution-bb068baabdcba06fb0353077329387982e36b925.zip |
hook up zoom functions.
2001-10-20 Larry Ewing <lewing@ximian.com>
* folder-browser-ui.c: hook up zoom functions.
* mail-callbacks.h: add prototypes.
* mail-callbacks.c (zoom_in): added.
(zoom_out): added.
(zoom_reset): added.
svn path=/trunk/; revision=13832
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r-- | mail/mail-callbacks.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index f4c3154c8c..3b626e5552 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -1578,6 +1578,24 @@ toggle_as_important (BonoboUIComponent *uih, void *user_data, const char *path) toggle_flags (FOLDER_BROWSER (user_data), CAMEL_MESSAGE_FLAGGED); } +void +zoom_in (BonoboUIComponent *uih, void *user_data, const char *path) +{ + gtk_html_zoom_in (FOLDER_BROWSER (user_data)->mail_display->html); +} + +void +zoom_out (BonoboUIComponent *uih, void *user_data, const char *path) +{ + gtk_html_zoom_out (FOLDER_BROWSER (user_data)->mail_display->html); +} + +void +zoom_reset (BonoboUIComponent *uih, void *user_data, const char *path) +{ + gtk_html_zoom_reset (FOLDER_BROWSER (user_data)->mail_display->html); +} + static void do_edit_messages (CamelFolder *folder, GPtrArray *uids, GPtrArray *messages, void *data) { |