Browse Source

Added a button to open up the Filesystem Box from the ARS, this is on the same

line as Filesystem Size.
master
freesource 23 years ago
parent
commit
dac5b05c88
  1. 5
      BootRoot/BootRoot.pm
  2. 7
      BootRoot/YardBox.pm

5
BootRoot/BootRoot.pm

@ -1085,6 +1085,11 @@ sub advanced_root_section {
}); });
$spinner_size->set_value($filesystem_size) if $filesystem_size; $spinner_size->set_value($filesystem_size) if $filesystem_size;
my $filesystem_box_b = button_advanced(2,3,3,4,"Filesystem Box",$table_advanced_root);
$filesystem_box_b->signal_connect("clicked",\&file_system);
$tooltips->set_tip( $filesystem_box_b, "Open Filesystem Box.", "" );
#_______________________________________ #_______________________________________
# Compression # Compression
# gBootRoot methods # gBootRoot methods

7
BootRoot/YardBox.pm

@ -25,7 +25,7 @@ package BootRoot::YardBox;
use vars qw(@ISA @EXPORT %EXPORT_TAGS); use vars qw(@ISA @EXPORT %EXPORT_TAGS);
use Exporter; use Exporter;
@ISA = qw(Exporter); @ISA = qw(Exporter);
@EXPORT = qw(yard ars filesystem_size); @EXPORT = qw(yard ars filesystem_size file_system);
use strict; use strict;
use BootRoot::BootRoot; use BootRoot::BootRoot;
@ -68,12 +68,13 @@ $template = $ars->{template};
$tmp = $ars->{tmp}; $tmp = $ars->{tmp};
$mnt = $ars->{mnt}; $mnt = $ars->{mnt};
# Freshmeat comes here so the rest of the program needs
# to be warned when the template is coming from here.
$changed_text = "$template_dir$template" if defined $template; $changed_text = "$template_dir$template" if defined $template;
} }
# Freshmeat comes here so the rest of the program needs
# to be warned when the template is coming from here.
my @menu_items = ( { path => '/File', my @menu_items = ( { path => '/File',
type => '<Branch>' }, type => '<Branch>' },

Loading…
Cancel
Save