aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gnome-cal.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@nuclecu.unam.mx>1998-10-01 09:32:47 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-10-01 09:32:47 +0800
commit7dae771114a7121f78f368f07f5e3adc69651c17 (patch)
treed894c1f4f505e2638ff0b7998a085f4567c755b4 /calendar/gui/gnome-cal.c
parentd1769d5646e9fef3c6de607f9f884b02dd954844 (diff)
downloadgsoc2013-evolution-7dae771114a7121f78f368f07f5e3adc69651c17.tar
gsoc2013-evolution-7dae771114a7121f78f368f07f5e3adc69651c17.tar.gz
gsoc2013-evolution-7dae771114a7121f78f368f07f5e3adc69651c17.tar.bz2
gsoc2013-evolution-7dae771114a7121f78f368f07f5e3adc69651c17.tar.lz
gsoc2013-evolution-7dae771114a7121f78f368f07f5e3adc69651c17.tar.xz
gsoc2013-evolution-7dae771114a7121f78f368f07f5e3adc69651c17.tar.zst
gsoc2013-evolution-7dae771114a7121f78f368f07f5e3adc69651c17.zip
Colorify the month item and prepare it for prelighting here.
1998-09-30 Federico Mena Quintero <federico@nuclecu.unam.mx> * goto.c (create_days): Colorify the month item and prepare it for prelighting here. * main.c (color_props): Changed the default colors to something not dull. * year-view.c (compute_min_size): New function to compute the minimum size of the year view properly. (year_view_size_request): Added two new fields to the year view structure that contain the minimum size. Return this in the size_request method. (year_view_new): Call compute_min_size to save the minimum size for later use. (idle_handler): Make it resize the items correctly. * gnome-month-item.c (gnome_month_item_set_arg): Reshape when necessary. This is needed becaues we now actually calculate a minimum size for the month item based on the font sizes and paddings. (check_heading_sizes): New function to calculate a minimum size based on the headings' dimensions. (check_day_sizes): New function to calculate a minimum size based on the day number labels' dimensions. (check_sizes): New function that computes a minimum size for the month item. (reshape): Now calls check_sizes() to ensure a minimum size for the month item. svn path=/trunk/; revision=419
Diffstat (limited to 'calendar/gui/gnome-cal.c')
-rw-r--r--calendar/gui/gnome-cal.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index 2a2635f178..fbbd5c2c19 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -60,9 +60,8 @@ setup_widgets (GnomeCalendar *gcal)
gtk_notebook_append_page (GTK_NOTEBOOK (gcal->notebook), gcal->year_view, gtk_label_new (_("Year View")));
gtk_widget_show_all (gcal->notebook);
-
+
gnome_app_set_contents (GNOME_APP (gcal), gcal->notebook);
-
}
static GtkWidget *