https://qa.mandrakesoft.com/show_bug.cgi?id=1175

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |



------- Additional Comments From [EMAIL PROTECTED]  2003-02-17 13:22 -------
No, it still doesn't work.
The bug is simply not visible anymore in LC_ALL=fr, but try LC_ALL=fr_FR.UTF-8
and  harddrake will crash (in fact it crashes for all non-8bit locales).

calling explicitely   ugtk2::prepare_gtk2(); after "use lib" solves the problem.

Even worst: if ugtk2::prepare_gtk2(); is called after "use interactive"
(something that should have no effect at all, as it is supposed to be called by
somewhere in interactive) then it doesn't crashes anymore but the strings in the
left pane (hardware devices tree) are wrongly encoded.
What cuases the crash seems to be that some strings of the menu bar gets
translated before prepare_gtk2 is actually called; and it seems not to happen in
"use interactive" but later.
The translations from the left pane come from "require harddrake::data;", if I
put that line after call of prepare_gtk2 everything is ok.


So, I will put "require harddrake::data;" after the "use interactive" line, and
call ugtk2::prepare_gtk2() anyway, even if it shouldn't be done, until the bug
is properly fixed. In the meantime, callign it explicitely means the programs
work, instead of crashing.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
status: REOPENED
creation_date: 
description: 
You just get a "Please wait" and it hangs until you click the cancel button. 
Launching drakconf from the command line gives the following stderr when you
click the hardrake button:

TODO: XSetInputFocus if force_focus
TODO: ensure focus stuff

(drakconf.real:2926): Gdk-CRITICAL **: file ../../gdk/gdkdraw.c: line 238
(gdk_drawable_get_display): assertion `GDK_IS_DRAWABLE (drawable)' failed

Reply via email to