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 | |
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')
-rw-r--r-- | mail/ChangeLog | 14 | ||||
-rw-r--r-- | mail/folder-browser.c | 4 | ||||
-rw-r--r-- | mail/mail-display.c | 3 | ||||
-rw-r--r-- | mail/message-list.c | 3 |
4 files changed, 18 insertions, 6 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index f97bc2df27..d7955dac47 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,17 @@ +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). + 2001-07-19 Peter Williams <peterw@ximian.com> Track the NoSelect changes in Camel. diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 8f9c886c63..0d3d0545a9 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -1788,10 +1788,6 @@ my_folder_browser_init (GtkObject *object) fb->preview_shown = TRUE; - e_scroll_frame_set_policy(E_SCROLL_FRAME(fb->message_list), - GTK_POLICY_NEVER, - GTK_POLICY_ALWAYS); - gtk_signal_connect (GTK_OBJECT (fb->mail_display->html), "key_press_event", GTK_SIGNAL_FUNC (on_key_press), fb); 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)); diff --git a/mail/message-list.c b/mail/message-list.c index c5f19abe9e..ffa922590a 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -1077,7 +1077,8 @@ message_list_init (GtkObject *object) MessageList *message_list = MESSAGE_LIST (object); e_scroll_frame_set_policy (E_SCROLL_FRAME (message_list), - GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS); + GTK_POLICY_NEVER, + GTK_POLICY_AUTOMATIC); message_list->hidden = NULL; message_list->hidden_pool = NULL; |