aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/mail-display.c2
-rw-r--r--mail/message-list.c5
3 files changed, 12 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 27eb8f8ef8..88f95297a2 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,11 @@
+2000-10-22 Ettore Perazzoli <ettore@helixcode.com>
+
+ * message-list.c (message_list_init): Always display the vertical
+ scrollbar.
+
+ * mail-display.c (mail_display_new): Always display the vertical
+ scrollbar.
+
2000-10-20 Jeffrey Stedfast <fejj@helixcode.com>
* mail-config.h: #include <camel/camel-folder.h>
diff --git a/mail/mail-display.c b/mail/mail-display.c
index 6757af1ca5..c2e576dec5 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -795,7 +795,7 @@ 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_AUTOMATIC);
+ GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);
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 11c75ad9b5..c688456474 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -987,11 +987,12 @@ message_list_init (GtkObject *object)
spec = message_list_get_layout (message_list);
extras = message_list_create_extras();
- message_list->etable = e_table_scrolled_new (
- message_list->table_model, extras, spec, NULL);
+ message_list->etable = e_table_scrolled_new (message_list->table_model, extras, spec, NULL);
g_free (spec);
gtk_object_sink(GTK_OBJECT(extras));
+ e_scroll_frame_set_policy (E_SCROLL_FRAME (message_list->etable), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);
+
gtk_object_set(GTK_OBJECT(message_list->etable),
"drawfocus", FALSE,
NULL);