diff options
author | Federico Mena Quintero <federico@nuclecu.unam.mx> | 1998-10-01 09:32:47 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-10-01 09:32:47 +0800 |
commit | 7dae771114a7121f78f368f07f5e3adc69651c17 (patch) | |
tree | d894c1f4f505e2638ff0b7998a085f4567c755b4 /calendar/gui/main.c | |
parent | d1769d5646e9fef3c6de607f9f884b02dd954844 (diff) | |
download | gsoc2013-evolution-7dae771114a7121f78f368f07f5e3adc69651c17.tar.gz 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/main.c')
-rw-r--r-- | calendar/gui/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/calendar/gui/main.c b/calendar/gui/main.c index 802cd56972..e889d223d6 100644 --- a/calendar/gui/main.c +++ b/calendar/gui/main.c @@ -46,12 +46,12 @@ int week_starts_on_monday; * values specified here are the defaults for the program. */ struct color_prop color_props[] = { - { 0x0000, 0x0000, 0x0000, "Outline:", "/calendar/Colors/outline" }, + { 0x3e72, 0x35ec, 0x8ba2, "Outline:", "/calendar/Colors/outline" }, { 0xffff, 0xffff, 0xffff, "Headings:", "/calendar/Colors/headings" }, - { 0xd6d6, 0xd6d6, 0xd6d6, "Empty days:", "/calendar/Colors/empty_bg" }, - { 0xd2d2, 0xb4b4, 0x8c8c, "Appointment days:", "/calendar/Colors/mark_bg" }, - { 0xea60, 0xea60, 0xea60, "Highlighted day:", "/calendar/Colors/prelight_bg" }, - { 0x0000, 0x0000, 0x0000, "Day numbers:", "/calendar/Colors/day_fg" }, + { 0xf26c, 0xecec, 0xbbe7, "Empty days:", "/calendar/Colors/empty_bg" }, + { 0xfc1e, 0xf87f, 0x5f80, "Appointment days:", "/calendar/Colors/mark_bg" }, + { 0xd364, 0xc6b7, 0x7969, "Highlighted day:", "/calendar/Colors/prelight_bg" }, + { 0x01f0, 0x01f0, 0x01f0, "Day numbers:", "/calendar/Colors/day_fg" }, { 0x0000, 0x0000, 0xffff, "Current day's number:", "/calendar/Colors/current_fg" } }; |