control-center: splash.c / l10n
- From: Karl Eichwalder <keichwa gmx net>
- To: gnome-devel-list gnome org
- Subject: control-center: splash.c / l10n
- Date: 10 Sep 2000 09:01:49 +0200
Since people continue to work on the "1-0" branch I'd like to ask for
permission to apply the following patch (otherwise the German splash
screen looks pretty ugly):
2000-09-10 Karl Eichwalder <ke suse de>
* splash.c (create_splash_screen): Add _() to use the translation
string to calculate the label width and height.
Index: splash.c
===================================================================
RCS file: /cvs/gnome/control-center/control-center/Attic/splash.c,v
retrieving revision 1.1.2.3
diff -u -u -r1.1.2.3 splash.c
--- splash.c 2000/06/19 14:21:20 1.1.2.3
+++ splash.c 2000/09/10 06:57:48
@@ -256,8 +256,8 @@
max_width = 0;
max_height = 0;
for (i = 0; i < end_system_info; i++) {
- max_width = MAX (max_width, gdk_string_width (font, descriptions[i]));
- max_height = MAX (max_height, gdk_string_height (font, descriptions[i]));
+ max_width = MAX (max_width, gdk_string_width (font, _(descriptions[i])));
+ max_height = MAX (max_height, gdk_string_height (font, _(descriptions[i])));
}
gdk_font_unref (font);
for (i = 0; i < end_system_info; i++) {
--
work : ke suse de | ------ ,__o
: http://www.suse.de/~ke/ | ------ _-\_<,
home : keichwa gmx net | ------ (*)/'(*)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]