Re: No text on buttons and in menu on HP-UX

Martin Egloff <> writes:

> Under HP-UX 10.10/20 I compiled version 1.2.1 of GTK+ against X11R5.
> Compile and install went really well. However, the testapplication in
> the gtk subdirectory shows some problems. I just can't see any texts
> on the buttons. If I compile applications which use gtk+ (like gnome's
> gnumeric) there are also no texts in the menus where there obviously
> has to be one (but I can see the bitmaps in the menues).
> Can anybody help me a little? What do I wrong?

I'm not sure exactly, but it probably is some incompatibility
between the way GTK+ does conversion between wide and multibyte
strings and your version of X11R5.

Does it matter what is set as your locale?

If this doesn't work, you could try making a modification
like the appended patch to gdkim.c.

That really isn't a good fix, but that should help
track down what is going wrong.


Index: gdkim.c
RCS file: /cvs/gnome/gtk+/gdk/gdkim.c,v
retrieving revision 1.14
diff -u -r1.14 gdkim.c
--- gdkim.c	1999/02/24 07:32:59	1.14
+++ gdkim.c	1999/04/07 15:54:07
@@ -118,6 +118,9 @@
   current_locale = setlocale (LC_ALL, NULL);
+  gdk_use_mb = FALSE;
+  return current_locale;
   if ((strcmp (current_locale, "C")) && (strcmp (current_locale, "POSIX")))
       gdk_use_mb = TRUE;

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]