* src/modest-mail-operation.[ch]:
[modest] / src / maemo / modest-address-book.c
index bad6c93..53626b4 100644 (file)
@@ -37,6 +37,7 @@
 #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>
@@ -513,6 +514,10 @@ select_email_addrs_for_contact(GList * email_addr_list)
                                        _("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);
@@ -749,7 +754,7 @@ resolve_address (const gchar *address, GSList **resolved_addresses, gchar **cont
 
        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;
        }