From b681ca2a8137816dcbc077eeca7d409dc196dd03 Mon Sep 17 00:00:00 2001 From: "Sergey I. Panov" Date: Thu, 18 Feb 1999 00:05:17 +0000 Subject: 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 --- calendar/quick-view.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'calendar/quick-view.c') diff --git a/calendar/quick-view.c b/calendar/quick-view.c index 337cfdbf73..f8fe8d42fd 100644 --- a/calendar/quick-view.c +++ b/calendar/quick-view.c @@ -10,7 +10,7 @@ #include "main.h" -#define QUICK_VIEW_FONT "-adobe-helvetica-medium-r-normal--10-*-*-*-p-*-*-*" +#define QUICK_VIEW_FONTSET "-adobe-helvetica-medium-r-normal--10-*-*-*-p-*-*-*,-cronyx-helvetica-medium-r-normal-*-11-*-*-*-p-*-koi8-r" static void quick_view_class_init (QuickViewClass *class); @@ -138,7 +138,7 @@ create_items_for_event (QuickView *qv, CalendarObject *co, double *y, double *ma "y", *y, "anchor", GTK_ANCHOR_NW, "text", str, - "font", QUICK_VIEW_FONT, + "fontset", QUICK_VIEW_FONTSET, NULL); g_free (str); @@ -173,7 +173,7 @@ setup_event_list (QuickView *qv, GList *event_list) "y", 0.0, "anchor", GTK_ANCHOR_NW, "text", _("No appointments for this day"), - "font", QUICK_VIEW_FONT, + "fontset", QUICK_VIEW_FONTSET, NULL); /* Measure the text and set the proper sizes */ -- cgit v1.2.3