diff options
author | Miguel de Icaza <miguel@nuclecu.unam.mx> | 1998-11-24 10:45:59 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-11-24 10:45:59 +0800 |
commit | 5c4be5ae091ba28af3189968ab60a90321f5044a (patch) | |
tree | ad350ed81c2b2093b84873f7677cc46df6489802 /calendar/eventedit.c | |
parent | 5f0c248bcaed49ff5cde6f4174ac7fe25968bdbe (diff) | |
download | gsoc2013-evolution-5c4be5ae091ba28af3189968ab60a90321f5044a.tar.gz gsoc2013-evolution-5c4be5ae091ba28af3189968ab60a90321f5044a.tar.zst gsoc2013-evolution-5c4be5ae091ba28af3189968ab60a90321f5044a.zip |
Update GtkClist usage.
1998-11-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
* eventedit.c (ee_rp_init_exceptions): Update GtkClist usage.
svn path=/trunk/; revision=486
Diffstat (limited to 'calendar/eventedit.c')
-rw-r--r-- | calendar/eventedit.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/calendar/eventedit.c b/calendar/eventedit.c index 18659841c0..7d16e8211a 100644 --- a/calendar/eventedit.c +++ b/calendar/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 */ |