aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorAndrew T. Veliath <andrewtv@src.gnome.org>1998-11-24 02:41:52 +0800
committerAndrew T. Veliath <andrewtv@src.gnome.org>1998-11-24 02:41:52 +0800
commit0b04bfdfc7c54cb651126e41b12ce6e1606551ed (patch)
tree88bdc7284bfa1babf02583f0d685169b3424a941 /calendar
parent309adf8b53b8f9ecfd12dec6f8ab7a9699ff82ac (diff)
downloadgsoc2013-evolution-0b04bfdfc7c54cb651126e41b12ce6e1606551ed.tar
gsoc2013-evolution-0b04bfdfc7c54cb651126e41b12ce6e1606551ed.tar.gz
gsoc2013-evolution-0b04bfdfc7c54cb651126e41b12ce6e1606551ed.tar.bz2
gsoc2013-evolution-0b04bfdfc7c54cb651126e41b12ce6e1606551ed.tar.lz
gsoc2013-evolution-0b04bfdfc7c54cb651126e41b12ce6e1606551ed.tar.xz
gsoc2013-evolution-0b04bfdfc7c54cb651126e41b12ce6e1606551ed.tar.zst
gsoc2013-evolution-0b04bfdfc7c54cb651126e41b12ce6e1606551ed.zip
Use gtk_scrolled_window_add_with_viewport instead of gtk_container_add
* gncal-day-panel.c (gncal_day_panel_new): Use gtk_scrolled_window_add_with_viewport instead of gtk_container_add (gtk_clist change). svn path=/trunk/; revision=484
Diffstat (limited to 'calendar')
-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 */