From 01d282c4e3cb95f5f1de53f465b0f94e11400dac Mon Sep 17 00:00:00 2001 From: Murray Cumming Date: Thu, 5 Jul 2007 16:09:44 +0000 Subject: [PATCH] 2007-07-05 Murray Cumming * src/maemo/modest-address-book.c: (select_email_addrs_for_contact): Specify a default window size for the select-email-address dialog, so that it is probably big enough for the title. This should fix projects.maemo.org bug NB#62277. pmo-trunk-r2596 --- ChangeLog2 | 7 +++++++ src/maemo/modest-address-book.c | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog2 b/ChangeLog2 index 579cdb2..6f8e357 100644 --- a/ChangeLog2 +++ b/ChangeLog2 @@ -1,5 +1,12 @@ 2007-07-05 Murray Cumming + * src/maemo/modest-address-book.c: + (select_email_addrs_for_contact): Specify a default window size for the + select-email-address dialog, so that it is probably big enough for the + title. This should fix projects.maemo.org bug NB#62277. + +2007-07-05 Murray Cumming + * src/maemo/easysetup/modest-easysetup-wizard.c: (create_page_complete_easysetup): Use gtk_widget_set_size() request to ensure that the text wraps diff --git a/src/maemo/modest-address-book.c b/src/maemo/modest-address-book.c index bad6c93..1d16bc6 100644 --- a/src/maemo/modest-address-book.c +++ b/src/maemo/modest-address-book.c @@ -513,6 +513,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); -- 1.7.9.5