[gnome-initial-setup] welcome-widget: Don't add labels for fonts we don't have
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup] welcome-widget: Don't add labels for fonts we don't have
- Date: Mon, 9 Dec 2013 02:40:32 +0000 (UTC)
commit f5d9e7240c92bf5466dfe7f83a7b3ec2a089f62c
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sun Dec 8 20:45:11 2013 -0500
welcome-widget: Don't add labels for fonts we don't have
.../pages/language/gis-welcome-widget.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gnome-initial-setup/pages/language/gis-welcome-widget.c
b/gnome-initial-setup/pages/language/gis-welcome-widget.c
index b5c4fd9..1c12ffe 100644
--- a/gnome-initial-setup/pages/language/gis-welcome-widget.c
+++ b/gnome-initial-setup/pages/language/gis-welcome-widget.c
@@ -159,6 +159,9 @@ fill_stack (GisWelcomeWidget *widget)
char *text;
GtkWidget *label;
+ if (!cc_common_language_has_font (locale_id))
+ continue;
+
text = welcome (locale_id);
if (g_hash_table_contains (added_translations, text))
continue;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]