aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-reader.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2009-04-03 05:12:13 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2009-04-03 05:12:13 +0800
commitda68ab65008bff803a3ea7940fa861c7cb055d08 (patch)
tree5096b9df6c8f0f40ef5d7775644df68b06e78ba8 /mail/e-mail-reader.c
parent3a6dd7931ed7787b49a574ebe69eba5f46289fff (diff)
downloadgsoc2013-evolution-da68ab65008bff803a3ea7940fa861c7cb055d08.tar.gz
gsoc2013-evolution-da68ab65008bff803a3ea7940fa861c7cb055d08.tar.zst
gsoc2013-evolution-da68ab65008bff803a3ea7940fa861c7cb055d08.zip
Split the attachment button into a separate widget that integrates with
EAttachmentView and EAttachmentStore. Clicking the button works, but I still have to finish the pop-up menu and drag-and-drop. Kill e-util/e-gui-utils.c: e_icon_for_mime_type() replaced by g_content_type_get_icon() svn path=/branches/kill-bonobo/; revision=37491
Diffstat (limited to 'mail/e-mail-reader.c')
-rw-r--r--mail/e-mail-reader.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c
index a026f6db8d..196f2f0323 100644
--- a/mail/e-mail-reader.c
+++ b/mail/e-mail-reader.c
@@ -1015,10 +1015,12 @@ action_mail_zoom_100_cb (GtkAction *action,
EMailReader *reader)
{
EMFormatHTMLDisplay *html_display;
+ GtkHTML *html;
html_display = e_mail_reader_get_html_display (reader);
+ html = EM_FORMAT_HTML (html_display)->html;
- em_format_html_display_zoom_reset (html_display);
+ gtk_html_zoom_reset (html);
}
static void
@@ -1026,10 +1028,12 @@ action_mail_zoom_in_cb (GtkAction *action,
EMailReader *reader)
{
EMFormatHTMLDisplay *html_display;
+ GtkHTML *html;
html_display = e_mail_reader_get_html_display (reader);
+ html = EM_FORMAT_HTML (html_display)->html;
- em_format_html_display_zoom_in (html_display);
+ gtk_html_zoom_out (html);
}
static void
@@ -1037,10 +1041,12 @@ action_mail_zoom_out_cb (GtkAction *action,
EMailReader *reader)
{
EMFormatHTMLDisplay *html_display;
+ GtkHTML *html;
html_display = e_mail_reader_get_html_display (reader);
+ html = EM_FORMAT_HTML (html_display)->html;
- em_format_html_display_zoom_out (html_display);
+ gtk_html_zoom_out (html);
}
static GtkActionEntry mail_reader_entries[] = {