[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Perlpanel-devel] .perlpanelrc breaks when using translation
From: |
Luka Frelih |
Subject: |
[Perlpanel-devel] .perlpanelrc breaks when using translation |
Date: |
Thu, 15 Jul 2004 06:30:48 +0200 |
User-agent: |
Mozilla Thunderbird 0.7.1 (X11/20040708) |
hello!
i've started translating perlpanel (to slovenian) and ran into a
problem. when writing .perlpanelrc, the values of keys panel/size and
panel/menu_size get written translated into the file, causing crashing
like this when perlpanel is started:
GdkPixbuf-CRITICAL **: file gdk-pixbuf-scale.c: line 236
(gdk_pixbuf_scale_simple): assertion `dest_width > 0' failed at
/usr/share/perlpanel//PerlPanel/MenuBase.pm line 373.
GdkPixbuf-CRITICAL **: file gdk-pixbuf-scale.c: line 236
(gdk_pixbuf_scale_simple): assertion `dest_width > 0' failed at
/usr/share/perlpanel//PerlPanel/MenuBase.pm line 373.
GdkPixbuf-CRITICAL **: file gdk-pixbuf-scale.c: line 236
(gdk_pixbuf_scale_simple): assertion `dest_width > 0' failed at
/usr/share/perlpanel//PerlPanel/MenuBase.pm line 373.
GdkPixbuf-CRITICAL **: file gdk-pixbuf-scale.c: line 236
(gdk_pixbuf_scale_simple): assertion `dest_width > 0' failed at
/usr/share/perlpanel//PerlPanel/MenuBase.pm line 373.
FATAL: invalid enum GtkIconSize value , expecting: invalid /
GTK_ICON_SIZE_INVALID, menu / GTK_ICON_SIZE_MENU, small-toolbar /
GTK_ICON_SIZE_SMALL_TOOLBAR, large-toolbar /
GTK_ICON_SIZE_LARGE_TOOLBAR, button / GTK_ICON_SIZE_BUTTON, dnd /
GTK_ICON_SIZE_DND, dialog / GTK_ICON_SIZE_DIALOG at
/usr/share/perlpanel//PerlPanel/MenuBase.pm line 350.
i guess the problem would be in Applet/Configurator.pm:apply_settings,
but i'm not sure how to get the msgid's instead of translations
at that point...
} elsif ($type eq 'enum') {
>>> $ref->{$key} = $widget->child->get_text;
} elsif ($type eq 'integer') {
also i hope someone on this list can help me with a pointer: how do i
change the background color on the Gtk2::Button? i'd like application
icons in the dock to have a different color background when running.
i guess it would be best to make it the 'theme' highlight color - anyone
knows how to get at that?
cheers
LF
- [Perlpanel-devel] .perlpanelrc breaks when using translation,
Luka Frelih <=