diff options
author | Sergey I. Panov <sipan@src.gnome.org> | 1999-02-18 08:05:17 +0800 |
---|---|---|
committer | Sergey I. Panov <sipan@src.gnome.org> | 1999-02-18 08:05:17 +0800 |
commit | b681ca2a8137816dcbc077eeca7d409dc196dd03 (patch) | |
tree | 31a5829068f325075ad6803dbe97a306b8e3b57b /calendar/gui/year-view.c | |
parent | 28707ca90c94797b88c21bc066d73247390e0eb3 (diff) | |
download | gsoc2013-evolution-b681ca2a8137816dcbc077eeca7d409dc196dd03.tar gsoc2013-evolution-b681ca2a8137816dcbc077eeca7d409dc196dd03.tar.gz gsoc2013-evolution-b681ca2a8137816dcbc077eeca7d409dc196dd03.tar.bz2 gsoc2013-evolution-b681ca2a8137816dcbc077eeca7d409dc196dd03.tar.lz gsoc2013-evolution-b681ca2a8137816dcbc077eeca7d409dc196dd03.tar.xz gsoc2013-evolution-b681ca2a8137816dcbc077eeca7d409dc196dd03.tar.zst gsoc2013-evolution-b681ca2a8137816dcbc077eeca7d409dc196dd03.zip |
will define fonts via fontset. Friendlier to locales that use iso8859-[^1]
* gnome-month-item.c,gnome-month-item.h,goto.c,mark.h,
month-view.c,prop.c,quick-view.c,year-view.c: will define
fonts via fontset. Friendlier to locales that use iso8859-[^1]
and koi8-r encodings. Does not solve problem for Asian languiges
--- better solution is needed (e.g. standart GNOME fontstyles
defined in gtkrc).
Interpol
svn path=/trunk/; revision=677
Diffstat (limited to 'calendar/gui/year-view.c')
-rw-r--r-- | calendar/gui/year-view.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/calendar/gui/year-view.c b/calendar/gui/year-view.c index 786270bea3..a8bc79e6fe 100644 --- a/calendar/gui/year-view.c +++ b/calendar/gui/year-view.c @@ -497,7 +497,7 @@ year_view_init (YearView *yv) yv->heading = gnome_canvas_item_new (gnome_canvas_root (GNOME_CANVAS (yv)), gnome_canvas_text_get_type (), "anchor", GTK_ANCHOR_N, - "font", HEADING_FONT, + "fontset", HEADING_FONTSET, "fill_color", "black", NULL); @@ -513,7 +513,7 @@ year_view_init (YearView *yv) gnome_canvas_text_get_type (), "text", buf, "anchor", GTK_ANCHOR_N, - "font", TITLE_FONT, + "fontset", TITLE_FONTSET, "fill_color", "black", NULL); @@ -523,8 +523,8 @@ year_view_init (YearView *yv) gnome_canvas_item_set (yv->mitems[i], "anchor", GTK_ANCHOR_NW, "start_on_monday", week_starts_on_monday, - "heading_font", DAY_HEADING_FONT, - "day_font", NORMAL_DAY_FONT, + "heading_fontset", DAY_HEADING_FONTSET, + "day_fontset", NORMAL_DAY_FONTSET, NULL); setup_month_item (yv, i); } @@ -638,7 +638,7 @@ mark_current_day (YearView *yv) GNOME_MONTH_ITEM_DAY_LABEL + day_index); gnome_canvas_item_set (item, "fill_color", color_spec_from_prop (COLOR_PROP_DAY_FG), - "font", NORMAL_DAY_FONT, + "fontset", NORMAL_DAY_FONTSET, NULL); yv->old_marked_day = -1; @@ -658,7 +658,7 @@ mark_current_day (YearView *yv) GNOME_MONTH_ITEM_DAY_LABEL + day_index); gnome_canvas_item_set (item, "fill_color", color_spec_from_prop (COLOR_PROP_CURRENT_DAY_FG), - "font", CURRENT_DAY_FONT, + "fontset", CURRENT_DAY_FONTSET, NULL); yv->old_marked_day = month_index * 42 + day_index; |