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 | |
parent | 5f0c248bcaed49ff5cde6f4174ac7fe25968bdbe (diff) | |
download | gsoc2013-evolution-5c4be5ae091ba28af3189968ab60a90321f5044a.tar gsoc2013-evolution-5c4be5ae091ba28af3189968ab60a90321f5044a.tar.gz gsoc2013-evolution-5c4be5ae091ba28af3189968ab60a90321f5044a.tar.bz2 gsoc2013-evolution-5c4be5ae091ba28af3189968ab60a90321f5044a.tar.lz gsoc2013-evolution-5c4be5ae091ba28af3189968ab60a90321f5044a.tar.xz 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
-rw-r--r-- | calendar/ChangeLog | 4 | ||||
-rw-r--r-- | calendar/eventedit.c | 9 | ||||
-rw-r--r-- | calendar/gui/eventedit.c | 9 |
3 files changed, 14 insertions, 8 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 98caea9416..64297b4305 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,7 @@ +1998-11-23 Miguel de Icaza <miguel@nuclecu.unam.mx> + + * eventedit.c (ee_rp_init_exceptions): Update GtkClist usage. + 1998-11-23 Andrew T. Veliath <andrewtv@usa.net> * gncal-day-panel.c (gncal_day_panel_new): Use 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 */ 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 */ |