From 0e5cfe78a5161e1c98e69f4670552e0d381b3d30 Mon Sep 17 00:00:00 2001 From: Arturo Espinosa Aldama Date: Wed, 15 Apr 1998 02:40:24 +0000 Subject: New widget for the year view. added required compilation of the new files. 1998-04-14 Arturo Espinosa Aldama * gncal-year-view.[hc]: New widget for the year view. * Makefile.am: added required compilation of the new files. svn path=/trunk/; revision=134 --- calendar/gui/eventedit.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'calendar/gui/eventedit.c') diff --git a/calendar/gui/eventedit.c b/calendar/gui/eventedit.c index 8230c70429..74ad9570ff 100644 --- a/calendar/gui/eventedit.c +++ b/calendar/gui/eventedit.c @@ -140,7 +140,7 @@ event_editor_setup_time_frame (EventEditor *ee) GTK_FILL | GTK_SHRINK, 0, 0); gtk_table_attach (t, start_time, 2, 3, 1, 2, - GTK_FILL | GTK_SHRINK, + GTK_EXPAND | GTK_FILL | GTK_SHRINK, GTK_FILL | GTK_SHRINK, 0, 0); @@ -154,7 +154,7 @@ event_editor_setup_time_frame (EventEditor *ee) GTK_FILL | GTK_SHRINK, 0, 0); gtk_table_attach (t, end_time, 2, 3, 2, 3, - GTK_FILL | GTK_SHRINK, + GTK_EXPAND | GTK_FILL | GTK_SHRINK, GTK_FILL | GTK_SHRINK, 0, 0); @@ -659,7 +659,7 @@ static void ee_rp_init_frequency (EventEditor *ee) { char *day_names [] = { "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun" }; - GtkWidget *r, *re, *r1, *f, *vbox, *hbox, *content, *week_hbox, *week_day, *w; + GtkWidget *r, *re, *r1, *f, *vbox, *hbox, *week_hbox, *week_day, *w; GtkWidget *daily, *weekly, *monthly, *yearly; GtkNotebook *notebook; GSList *group; @@ -805,13 +805,12 @@ ee_rp_init_frequency (EventEditor *ee) 4, 5, 0, 2, 0, 0, 5, 0); gtk_table_attach (GTK_TABLE (monthly), gtk_label_new (_("month(s)")), 5, 6, 0, 2, 0, 0, 0, 0); - if (ee->ical->recur){ + if (ee->ical->recur) { if (ee->ical->recur->type == RECUR_MONTHLY_BY_POS) gtk_toggle_button_set_state (GTK_TOGGLE_BUTTON (r1), 1); - } else { - recur_month_enable_date ((re), ee); - } - + } else + recur_month_enable_date (GTK_TOGGLE_BUTTON (re), ee); + /* 4. The yearly recurrence */ yearly = gtk_hbox_new (0, 0); ee->recur_year_period = small_entry (year_period); -- cgit v1.2.3