#include <libebook/e-book-view.h>
#include <libosso-abook/osso-abook.h>
#include "modest-hildon-includes.h"
+#include "modest-platform.h"
#include <string.h>
#include <gtk/gtksizegroup.h>
#include <gtk/gtkbox.h>
_("mcen_bd_dialog_cancel"), GTK_RESPONSE_REJECT, NULL);
gtk_dialog_set_has_separator(GTK_DIALOG(select_email_addr_dlg), FALSE);
+ /* Make the window approximately big enough, because it doesn't resize to be big enough
+ * for the window title text: */
+ gtk_window_set_default_size (GTK_WINDOW (select_email_addr_dlg), 400, -1);
+
scrolledwindow = gtk_scrolled_window_new(NULL, NULL);
gtk_box_pack_start(GTK_BOX(GTK_DIALOG(select_email_addr_dlg)->vbox), scrolledwindow, TRUE,
TRUE, 0);
if (resolved_contacts == NULL) {
/* no matching contacts for the search string */
- hildon_banner_show_information (NULL, NULL, _("mcen_nc_no_matching_contacts"));
+ modest_platform_run_information_dialog (NULL, _("mcen_nc_no_matching_contacts"));
return FALSE;
}