Change the way the message view window's size is set up so that the

user can make it smaller than the default if she likes.

svn path=/trunk/; revision=5062
This commit is contained in:
Ettore Perazzoli
2000-08-27 01:09:43 +00:00
parent a1bf7aa6c4
commit 23bea35785
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2000-08-26 Ettore Perazzoli <ettore@helixcode.com>
* mail-view.c (mail_view_create): Use
`gtk_window_set_default_size' on the toplevel instead of
`gtk_widget_set_usize()', and make the default size smaller.
2000-08-25 Christopher James Lahey <clahey@helixcode.com>
* mail-crypto.c: Fixed an uninitialized variable.

View File

@ -232,10 +232,11 @@ mail_view_create (CamelFolder *source, const char *uid, CamelMimeMessage *msg)
mail_display = mail_display_new ();
mail_display_set_message (MAIL_DISPLAY (mail_display), CAMEL_MEDIUM (msg));
gtk_widget_set_usize (mail_display, 600, 600);
data->md = MAIL_DISPLAY (mail_display);
gnome_app_set_contents (GNOME_APP (window), mail_display);
gtk_window_set_default_size (GTK_WINDOW (window), 600, 400);
return window;
}