On Wed, 17 Jan 2001, Svend Larsen wrote:

> Hello.
> 
> I have compiled and installed Dia 0.86 on my system running Linux 7.0. I
> have Gtk+ version 1.2.8-7, libxml version 1.8.9-5 and imlib-1.9.8.1-2
> installed. When I start Dia I get the following warnings:
> 
> ** WARNING **: Can't find menu entry '<Display>/Værktøj/Modify'!
> This is probably a i18n problem (try LANG=C).
[...]

> Maby it is because I have chosen Danish installation when I installed
> Linux. Does anyone know how to get around this problem. I do not mind if
> all menus are in english.

To make the menus English, do
export LANG=C
before you start Dia in an xterm.

> When Dia is running I get this message all the time in the xterm where I
> started Dia:
> 
> Gtk-CRITICAL **: file gtkwidget.c: line 3306 (gtk_widget_set_sensitive):
> assertion `widget != NULL' failed.

This seems to be a side-effect of the language issues.

I notice that Danish isn't the only language with this problem.  I tried
German, French and Italian, and I get the warnings in each case.  Here's
what LANG=de gives:

lrclause@shasta:~/public_html/Christmas2000$ export LANG=de 
lrclause@shasta:~/public_html/Christmas2000$ dia

Gdk-WARNING **: locale not supported by C library

Gdk-WARNING **: locale not supported by C library
[Here I make a new diagram]
** WARNING **: Can't find menu entry 'Objekte/Horizontal anordnen/Verteilt'!
This is probably a i18n problem (try LANG=C).

** WARNING **: Can't find menu entry 'Objekte/Vertikal anordnen/Verteilt'!
This is probably a i18n problem (try LANG=C).

Gtk-CRITICAL **: file gtkwidget.c: line 3306 (gtk_widget_set_sensitive): assertion 
`widget != NULL' failed.

Gtk-CRITICAL **: file gtkwidget.c: line 3306 (gtk_widget_set_sensitive): assertion 
`widget != NULL' failed.

Gtk-CRITICAL **: file gtkwidget.c: line 3306 (gtk_widget_set_sensitive): assertion 
`widget != NULL' failed.

Gtk-CRITICAL **: file gtkwidget.c: line 3306 (gtk_widget_set_sensitive): assertion 
`widget != NULL' failed.
[Here I focus on the new diagram]
Gtk-CRITICAL **: file gtkwidget.c: line 3306 (gtk_widget_set_sensitive): assertion 
`widget != NULL' failed.

Gtk-CRITICAL **: file gtkwidget.c: line 3306 (gtk_widget_set_sensitive): assertion 
`widget != NULL' failed.

I'm using Debian 2.2, GTK 1.2.8, and the newest CVS version of Dia.

-Lars

-- 
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause) | Hårdgrim of Numenor
"I do not agree with a word that you say, but I    | Retainer of Sir Kegg
will defend to the death your right to say it."    |   of Westfield
    --Evelyn Beatrice Hall paraphrasing Voltaire   | Chaos Berserker of Khorne

Reply via email to