gtk_box_pack_start (GTK_BOX(priv->headers_box), priv->mail_header_view, FALSE, FALSE, 0);
if (priv->attachments_view) {
- priv->attachments_box = (GtkWidget *) modest_mail_header_view_add_custom_header (MODEST_MAIL_HEADER_VIEW (priv->mail_header_view),
- _("Attachments:"), priv->attachments_view,
- FALSE, FALSE);
+ gchar *att_label = g_strconcat (_("mcen_me_viewer_attachments"), ":", NULL);
+
+ priv->attachments_box = (GtkWidget *)
+ modest_mail_header_view_add_custom_header (MODEST_MAIL_HEADER_VIEW (priv->mail_header_view),
+ att_label,
+ priv->attachments_view,
+ FALSE, FALSE);
gtk_widget_hide_all (priv->attachments_box);
+ g_free (att_label);
/* gtk_widget_set_no_show_all (priv->attachments_box, TRUE); */
}
TRUE, /* forward */
FALSE); /* regexp */
-// wait for the updated gtkhtml (w27) to enable this
-#if 0
if (result) {
gint x, y, w, h;
gdouble offset_top, offset_bottom;
else if (offset_bottom > adj->value + adj->page_increment)
gtk_adjustment_set_value (adj, offset_bottom - adj->page_increment);
}
-#endif
y_offset = tmp_vadj->value;
gtk_layout_set_vadjustment (GTK_LAYOUT (priv->gtkhtml), vadj);
priv = MODEST_MSG_VIEW_GET_PRIVATE (self);
result = gtk_html_engine_search_next (GTK_HTML (priv->gtkhtml));
-// fixme wait for new gtkhtml
-#if 0
if (result) {
gint x, y, w, h;
gdouble offset_top, offset_bottom;
else if (offset_bottom > adj->value + adj->page_increment)
gtk_adjustment_set_value (adj, offset_bottom - adj->page_increment);
}
-#endif
return result;
}