diff options
author | Glynn Foster <glynn.foster@sun.com> | 2004-12-07 01:26:00 +0000 |
---|---|---|
committer | Glynn Foster <gman@src.gnome.org> | 2004-12-07 01:26:00 +0000 |
commit | 69e094a4570bae10dab378e8c024c76fc7d0250a (patch) | |
tree | b08795caa5db411f4653b640e6929f03d7f70d1c /src | |
parent | Fix spacing issue. (diff) | |
download | zenity-69e094a4570bae10dab378e8c024c76fc7d0250a.tar.gz zenity-69e094a4570bae10dab378e8c024c76fc7d0250a.tar.bz2 zenity-69e094a4570bae10dab378e8c024c76fc7d0250a.zip |
Fix for #137993. There is a chance that we'll have to revert this fix,
2004-12-07 Glynn Foster <glynn.foster@sun.com>
* src/main.c: Fix for #137993. There is a chance that we'll have
to revert this fix, given the comments in /etc/X11/gdm/Xsession:
# Note that this should only go to zenity dialogs which always
# expect utf8
gettextfunc () {
if [ "x$gdmtranslate" != "x" ] ; then
"$gdmtranslate" --utf8 "$1"
else
echo "$1"
fi
}
So I guess we may be over a barrel with our original guarantee.
Let's just change this in 2.9.x and see if anyone notices or cares
enough. Patch from Leonardo Boshell <p@kapcoweb.com>.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -44,11 +44,11 @@ main (gint argc, gchar **argv) { #endif bindtextdomain(GETTEXT_PACKAGE, GNOMELOCALEDIR); - bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8"); textdomain(GETTEXT_PACKAGE); results = zenity_option_parse (argc, argv); + bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8"); gtk_init (&argc, &argv); switch (results->mode) { |