/* set zoom level */
int_zoom = (gint) rint (zoom_level*100.0+0.1);
- banner_text = g_strdup_printf (_("wdgt_ib_zoom"), int_zoom);
+ banner_text = g_strdup_printf (_HL("wdgt_ib_zoom"), int_zoom);
modest_platform_information_banner (GTK_WIDGET (window), NULL, banner_text);
g_free (banner_text);
modest_zoomable_set_zoom (MODEST_ZOOMABLE (priv->msg_view), zoom_level);
/* set zoom level */
int_zoom = (gint) rint (zoom_level*100.0+0.1);
- banner_text = g_strdup_printf (_("wdgt_ib_zoom"), int_zoom);
+ banner_text = g_strdup_printf (_HL("wdgt_ib_zoom"), int_zoom);
modest_platform_information_banner (GTK_WIDGET (window), NULL, banner_text);
g_free (banner_text);
modest_zoomable_set_zoom (MODEST_ZOOMABLE (priv->msg_view), zoom_level);
parent_acc = modest_tny_account_get_parent_modest_account_name_for_server_account (account);
/* Close this window if I'm showing a message of the removed account */
- if (strcmp (parent_acc, our_acc) == 0)
+ if (our_acc && parent_acc && strcmp (parent_acc, our_acc) == 0)
modest_ui_actions_on_close_window (NULL, MODEST_WINDOW (user_data));
}
}