diff options
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/eventedit.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/calendar/gui/eventedit.c b/calendar/gui/eventedit.c index 18659841c0..7d16e8211a 100644 --- a/calendar/gui/eventedit.c +++ b/calendar/gui/eventedit.c @@ -1386,12 +1386,13 @@ ee_rp_init_exceptions (EventEditor *ee) gtk_box_pack_start (GTK_BOX (ivbox), widget, FALSE, FALSE, 0); ee->recur_ex_clist = widget = gtk_clist_new (1); + sw = gtk_scrolled_window_new (NULL, NULL); + gtk_container_add (GTK_CONTAINER (sw), widget); gtk_clist_set_selection_mode (GTK_CLIST (widget), GTK_SELECTION_BROWSE); -#if 0 - gtk_clist_set_policy (GTK_CLIST (widget), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); -#endif + gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), + GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); fill_exception_clist (ee); - gtk_box_pack_start (GTK_BOX (hbox), widget, TRUE, TRUE, 0); + gtk_box_pack_start (GTK_BOX (hbox), sw, TRUE, TRUE, 0); /* Done, add to main table */ |