From da68ab65008bff803a3ea7940fa861c7cb055d08 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 2 Apr 2009 21:12:13 +0000 Subject: 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 --- mail/e-mail-reader.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'mail/e-mail-reader.c') 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[] = { -- cgit v1.2.3