Browse Source

State is saved for the Compression off check box and the Root Filename save

check box.
master
freesource 23 years ago
parent
commit
8cac3030ca
  1. 12
      BootRoot/BootRoot.pm
  2. 3
      Changes

12
BootRoot/BootRoot.pm

@ -133,7 +133,7 @@ my $separator_advanced;
my @entry_advanced; my @entry_advanced;
my ($ea1,$ea2,$ea3,$ea4,$ea5,$ea6); # entry advanced boot my ($ea1,$ea2,$ea3,$ea4,$ea5,$ea6); # entry advanced boot
my ($ear1,$ear2,$ear3,$ear4); # entry advanced root my ($ear1,$ear2,$ear2_save,$ear3,$ear4); # entry advanced root
my ($eab1,$eab2,$eab3,$eab4); # entry advanced uml my ($eab1,$eab2,$eab3,$eab4); # entry advanced uml
my $uml_window; my $uml_window;
my $table_advanced; my $table_advanced;
@ -1039,8 +1039,10 @@ sub advanced_root_section {
ars($ars); ars($ars);
$tooltips->set_tip( $ear2, "Give the Root Filesystem file a name.", $tooltips->set_tip( $ear2, "Give the Root Filesystem file a name.",
"" ); "" );
my $ear2_save = Gtk::CheckButton->new("save"); !defined $ear2_save ? ($boolean = 1)
$ear2_save->set_active($true); : ($boolean = $ear2_save->get_active());
$ear2_save = Gtk::CheckButton->new("save");
$ear2_save->set_active($boolean);
# "Save Root File. Press right button to change" . # "Save Root File. Press right button to change" .
# " the Directory the file is saved in.", # " the Directory the file is saved in.",
@ -1117,11 +1119,13 @@ sub advanced_root_section {
$rbutton->show(); $rbutton->show();
# compression off # compression off
!defined $compression_off ? ($boolean = 1)
: ($boolean = $compression_off->get_active());
$compression_off = Gtk::CheckButton->new( "off"); $compression_off = Gtk::CheckButton->new( "off");
$tooltips->set_tip( $compression_off, $tooltips->set_tip( $compression_off,
"Turn Compression off.", "" ); "Turn Compression off.", "" );
$hbox_between->pack_start( $compression_off, $true, $false, 0 ); $hbox_between->pack_start( $compression_off, $true, $false, 0 );
$compression_off->set_active($true); $compression_off->set_active($boolean);
$compression_off->show(); $compression_off->show();
#_______________________________________ #_______________________________________

3
Changes

@ -1,3 +1,6 @@
State is saved for the Compression off check box and the Root Filename save
check box.
The UML Kernel entry box in the ARS remembers state now. The UML Kernel entry box in the ARS remembers state now.
Changed the behavior of save_as so that when compression is chosen, the Changed the behavior of save_as so that when compression is chosen, the

Loading…
Cancel
Save