1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00

Add a patch for i18n about dialog.

This commit is contained in:
Yukihiro Nakai 1999-10-25 05:29:30 +00:00
parent 04a97c9c3e
commit 9e6226d757
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=22616
3 changed files with 60 additions and 0 deletions

View File

@ -0,0 +1,20 @@
--- libgnomeui/gnome-about.c.orig Mon Oct 25 13:34:06 1999
+++ libgnomeui/gnome-about.c Mon Oct 25 13:58:13 1999
@@ -1,6 +1,6 @@
/* GNOME GUI Library
* Copyright (C) 1998 Cesar Miquel <miquel@df.uba.ar>
- * Based in gnome-about, copyright (C) 1998 Horacio J. Pe<50>a
+ * Based in gnome-about, copyright (C) 1998 Horacio J. Pe驕
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -414,6 +414,9 @@
/* FIXME: dirty hack, but it solves i18n problem without rewriting the
drawing code.. */
style = gtk_style_ref (widget->style);
+
+ /* For true i18n */
+ gtk_widget_ensure_style(widget);
gtk_widget_set_name (widget, "Title");
gai->font_title = gdk_font_ref (widget->style->font);

View File

@ -0,0 +1,20 @@
--- libgnomeui/gnome-about.c.orig Mon Oct 25 13:34:06 1999
+++ libgnomeui/gnome-about.c Mon Oct 25 13:58:13 1999
@@ -1,6 +1,6 @@
/* GNOME GUI Library
* Copyright (C) 1998 Cesar Miquel <miquel@df.uba.ar>
- * Based in gnome-about, copyright (C) 1998 Horacio J. Pe<50>a
+ * Based in gnome-about, copyright (C) 1998 Horacio J. Pe驕
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -414,6 +414,9 @@
/* FIXME: dirty hack, but it solves i18n problem without rewriting the
drawing code.. */
style = gtk_style_ref (widget->style);
+
+ /* For true i18n */
+ gtk_widget_ensure_style(widget);
gtk_widget_set_name (widget, "Title");
gai->font_title = gdk_font_ref (widget->style->font);

View File

@ -0,0 +1,20 @@
--- libgnomeui/gnome-about.c.orig Mon Oct 25 13:34:06 1999
+++ libgnomeui/gnome-about.c Mon Oct 25 13:58:13 1999
@@ -1,6 +1,6 @@
/* GNOME GUI Library
* Copyright (C) 1998 Cesar Miquel <miquel@df.uba.ar>
- * Based in gnome-about, copyright (C) 1998 Horacio J. Pe<50>a
+ * Based in gnome-about, copyright (C) 1998 Horacio J. Pe驕
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -414,6 +414,9 @@
/* FIXME: dirty hack, but it solves i18n problem without rewriting the
drawing code.. */
style = gtk_style_ref (widget->style);
+
+ /* For true i18n */
+ gtk_widget_ensure_style(widget);
gtk_widget_set_name (widget, "Title");
gai->font_title = gdk_font_ref (widget->style->font);