diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-09-08 10:08:40 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-09-08 10:08:40 +0000 |
commit | 253139baf9ee9413eaad8d76cf0909a03927b67a (patch) | |
tree | f4798d2b8906ceb6b887c2eca60c836162b0f2c8 | |
parent | a441989628f1d8e365bb61a8e1f03d17a51bfd89 (diff) | |
download | drakx-253139baf9ee9413eaad8d76cf0909a03927b67a.tar drakx-253139baf9ee9413eaad8d76cf0909a03927b67a.tar.gz drakx-253139baf9ee9413eaad8d76cf0909a03927b67a.tar.bz2 drakx-253139baf9ee9413eaad8d76cf0909a03927b67a.tar.xz drakx-253139baf9ee9413eaad8d76cf0909a03927b67a.zip |
make some pull down menus not editable
-rw-r--r-- | perl-install/NEWS | 1 | ||||
-rwxr-xr-x | perl-install/standalone/draksplash | 7 |
2 files changed, 5 insertions, 3 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index 17ed451fe..41032ff47 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -9,6 +9,7 @@ - draksplash: o make it fit better in 1024x768 o make it working again + o make some pull down menus not editable Version 11.36 - 5 September 2008 diff --git a/perl-install/standalone/draksplash b/perl-install/standalone/draksplash index 4dbbe82fd..f51005b86 100755 --- a/perl-install/standalone/draksplash +++ b/perl-install/standalone/draksplash @@ -61,7 +61,7 @@ $notebook->append_page(gtknew('VBox', spacing => 5, children_tight => [ gtknew('Button', text => N("Choose progress bar color 1"), clicked => sub { choose_color('pc1') }), gtknew('Button', text => N("Choose progress bar color 2"), clicked => sub { choose_color('pc2') }), gtknew('Button', text => N("Choose progress bar background"), clicked => sub { choose_color('pbg_c') }), - gtknew('Label', text => N("Gradient type")), gtksignal_connect(Gtk2::ComboBoxEntry->new_with_strings([ 'vertical', 'horizontal' ], 'vertical'), changed => sub { $theme{conf}{gradient} = $_[0]->get_child->get_text }), + 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 }), gtknew('Button', text => N("Choose text color"), clicked => sub { choose_color('text_color') }), create_scale_table('text_x', 'text_y', 'text_size'), gtknew('Button', text => N("Choose picture"), clicked => sub { choose_image('silentjpeg') })]), @@ -69,11 +69,12 @@ $notebook->append_page(gtknew('VBox', spacing => 5, children_tight => [ $notebook->append_page(gtknew('VBox', spacing => 5, children_tight => [ create_scale_table('tb_x', 'tb_y', 'tb_w', 'tb_h', 'transp'), gtknew('Button', text => N("Choose text zone color"), clicked => sub { choose_color('tc') }), - gtknew('Label', text => N("Text color")), gtksignal_connect(Gtk2::ComboBoxEntry->new_with_strings([ 0 .. 15 ], 1), changed => sub { $theme{conf}{fgcolor} = $_[0]->get_child->get_text }), - gtknew('Label', text => N("Background color")), gtksignal_connect(Gtk2::ComboBoxEntry->new_with_strings([ 0 .. 15 ], '0'), changed => sub { $theme{conf}{bgcolor} = $_[0]->get_child->get_text }), + 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 }), + 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 }), gtknew('Button', text => N("Choose picture"), clicked => sub { choose_image('jpeg') })]), N("Verbose bootsplash")); + gtkadd($window->{window}, gtknew('VBox', spacing => 5, children_loose => [ gtknew('HBox', spacing => 5, children_tight => [ |