diff options
author | Jason Leach <jleach@ximian.com> | 2001-07-20 05:45:06 +0800 |
---|---|---|
committer | Jacob Leach <jleach@src.gnome.org> | 2001-07-20 05:45:06 +0800 |
commit | 400b1300609256de46e00e6e1856680a6322d06d (patch) | |
tree | 898a442cb905fcb221e8562a87b22ced9eca7100 /mail/mail-display.c | |
parent | a8f8067a0a47d334f0e1e862c63854bd59ac56dc (diff) | |
download | gsoc2013-evolution-400b1300609256de46e00e6e1856680a6322d06d.tar gsoc2013-evolution-400b1300609256de46e00e6e1856680a6322d06d.tar.gz gsoc2013-evolution-400b1300609256de46e00e6e1856680a6322d06d.tar.bz2 gsoc2013-evolution-400b1300609256de46e00e6e1856680a6322d06d.tar.lz gsoc2013-evolution-400b1300609256de46e00e6e1856680a6322d06d.tar.xz gsoc2013-evolution-400b1300609256de46e00e6e1856680a6322d06d.tar.zst gsoc2013-evolution-400b1300609256de46e00e6e1856680a6322d06d.zip |
Set the vertical scrolling policy for the mail display to AUTOMATIC, only
2001-07-19 Jason Leach <jleach@ximian.com>
* mail-display.c (mail_display_new): Set the vertical scrolling
policy for the mail display to AUTOMATIC, only get a scrollbar if
the e-mail is longer than one frame.
* folder-browser.c (my_folder_browser_init): We were setting the
policy twice (and to two different things). Removed this one.
* message-list.c (message_list_init): Set the policy for the
message list scroll frame to be horizontal=NEVER,
vertical=AUTOMATIC (scrollbar only if you have >1 page of
messages).
svn path=/trunk/; revision=11239
Diffstat (limited to 'mail/mail-display.c')
-rw-r--r-- | mail/mail-display.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mail-display.c b/mail/mail-display.c index 53251430d1..974d755602 100644 --- a/mail/mail-display.c +++ b/mail/mail-display.c @@ -1844,7 +1844,8 @@ mail_display_new (void) scroll = e_scroll_frame_new (NULL, NULL); e_scroll_frame_set_policy (E_SCROLL_FRAME (scroll), - GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS); + GTK_POLICY_AUTOMATIC, + GTK_POLICY_AUTOMATIC); e_scroll_frame_set_shadow_type (E_SCROLL_FRAME (scroll), GTK_SHADOW_IN); gtk_box_pack_start_defaults (GTK_BOX (mail_display), GTK_WIDGET (scroll)); gtk_widget_show (GTK_WIDGET (scroll)); |