summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-28 20:45:19 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-28 20:45:19 +0000
commitc3cbb7628d2e6424a7ca51c15ee2088bf824daa1 (patch)
tree9442751ad7275593382e4e8049eddbe9c4d9b94f /perl-install/standalone
parent346c0d70ee9bbf9813952676998ce532898d43ba (diff)
downloaddrakx-c3cbb7628d2e6424a7ca51c15ee2088bf824daa1.tar
drakx-c3cbb7628d2e6424a7ca51c15ee2088bf824daa1.tar.gz
drakx-c3cbb7628d2e6424a7ca51c15ee2088bf824daa1.tar.bz2
drakx-c3cbb7628d2e6424a7ca51c15ee2088bf824daa1.tar.xz
drakx-c3cbb7628d2e6424a7ca51c15ee2088bf824daa1.zip
fix crash: 'Can't locate object method "get_text" via package "Gtk2::CellView"'
(regression introduced in r244919 on 2008-09-08: "make some pull down menus not editable")
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/draksplash8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/standalone/draksplash b/perl-install/standalone/draksplash
index 384dc416a..24c543401 100755
--- a/perl-install/standalone/draksplash
+++ b/perl-install/standalone/draksplash
@@ -68,7 +68,7 @@ $notebook->append_page(gtknew('VBox', spacing => 5, children_tight => [
gtknew('Label', text => N("Gradient type")),
gtksignal_connect(
Gtk2::ComboBox->new_with_strings([ 'vertical', 'horizontal' ], 'vertical'),
- changed => sub { $theme{conf}{gradient} = $_[0]->get_child->get_text }),
+ changed => sub { $theme{conf}{gradient} = $_[0]->entry->get_text }),
]),
gtknew('Button', text => N("Choose text color"),
clicked => sub { choose_color('text_color') }),
@@ -82,10 +82,10 @@ $notebook->append_page(gtknew('VBox', spacing => 5, children_tight => [
clicked => sub { choose_color('tc') }),
gtknew('Label', text => N("Text color")),
gtksignal_connect(Gtk2::ComboBox->new_with_strings([ 0 .. 15 ], 1),
- changed => sub { $theme{conf}{fgcolor} = $_[0]->get_child->get_text }),
+ changed => sub { $theme{conf}{fgcolor} = $_[0]->entry->get_text }),
gtknew('Label', text => N("Background color")),
gtksignal_connect(Gtk2::ComboBox->new_with_strings([ 0 .. 15 ], '0'),
- changed => sub { $theme{conf}{bgcolor} = $_[0]->get_child->get_text }),
+ changed => sub { $theme{conf}{bgcolor} = $_[0]->entry->get_text }),
gtknew('Button', text => N("Choose picture"), clicked => sub { choose_image('jpeg') })]),
N("Verbose bootsplash"));
@@ -98,7 +98,7 @@ gtkadd($window->{window},
gtksignal_connect(
Gtk2::ComboBoxEntry->new_with_strings(
[ bootsplash::themes_list() ], $theme{name}),
- changed => sub { set_theme($_[0]->get_child->get_text) }) ],
+ changed => sub { set_theme($_[0]->entry->get_text) }) ],
[ gtknew('Label', text => N("Final resolution")),
gtksignal_connect(gtknew('ComboBox', text => $theme{res},
list => \@bootsplash::resolutions),