diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-08-27 09:09:43 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-08-27 09:09:43 +0800 |
commit | 23bea357855b59b5aed573d645d5e7dc6ab9dc97 (patch) | |
tree | 640f1a6442c61390cf26a6f4c42f3a8b893ecb1f | |
parent | a1bf7aa6c41783b0d8f26a9c25e18e1ad7372793 (diff) | |
download | gsoc2013-evolution-23bea357855b59b5aed573d645d5e7dc6ab9dc97.tar.gz gsoc2013-evolution-23bea357855b59b5aed573d645d5e7dc6ab9dc97.tar.zst gsoc2013-evolution-23bea357855b59b5aed573d645d5e7dc6ab9dc97.zip |
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
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/mail-view.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 6474657304..df20047d42 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -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. diff --git a/mail/mail-view.c b/mail/mail-view.c index 6c336a47f8..065386f4ff 100644 --- a/mail/mail-view.c +++ b/mail/mail-view.c @@ -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; } |