aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gncal-day-panel.c2
-rw-r--r--calendar/gui/gncal-day-panel.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index a609d6e4cc..5fd0b19397 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,9 @@
+1998-11-23 Andrew T. Veliath <andrewtv@usa.net>
+
+ * gncal-day-panel.c (gncal_day_panel_new): Use
+ gtk_scrolled_window_add_with_viewport instead of
+ gtk_container_add (gtk_clist change).
+
1998-11-23 Herbert V. Riedel <hvr@hvrlab.ml.org>
* eventedit.c: use GPOINTER_TO_INT
diff --git a/calendar/gncal-day-panel.c b/calendar/gncal-day-panel.c
index c4ea354e25..422c755371 100644
--- a/calendar/gncal-day-panel.c
+++ b/calendar/gncal-day-panel.c
@@ -133,7 +133,7 @@ gncal_day_panel_new (GnomeCalendar *calendar, time_t start_of_day)
gtk_signal_connect (GTK_OBJECT (dpanel->fullday), "range_activated",
(GtkSignalFunc) day_view_range_activated,
dpanel);
- gtk_container_add (GTK_CONTAINER (dpanel->fullday_sw), w);
+ gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (dpanel->fullday_sw), w);
gtk_widget_show (w);
/* We'll scroll the list to the proper initial position */
diff --git a/calendar/gui/gncal-day-panel.c b/calendar/gui/gncal-day-panel.c
index c4ea354e25..422c755371 100644
--- a/calendar/gui/gncal-day-panel.c
+++ b/calendar/gui/gncal-day-panel.c
@@ -133,7 +133,7 @@ gncal_day_panel_new (GnomeCalendar *calendar, time_t start_of_day)
gtk_signal_connect (GTK_OBJECT (dpanel->fullday), "range_activated",
(GtkSignalFunc) day_view_range_activated,
dpanel);
- gtk_container_add (GTK_CONTAINER (dpanel->fullday_sw), w);
+ gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (dpanel->fullday_sw), w);
gtk_widget_show (w);
/* We'll scroll the list to the proper initial position */