diff --git a/BootRoot/BootRoot.pm b/BootRoot/BootRoot.pm index 680b674..29a0ae5 100644 --- a/BootRoot/BootRoot.pm +++ b/BootRoot/BootRoot.pm @@ -1898,6 +1898,18 @@ sub save_as { $save_as->border_width(12); $save_as->set_position('center'); + # If compression was on we will use that compression + if (!$compression_off->active) { + if ( $gz_toggle_root->active ) { + $template = "$template.gz"; + } + elsif ( $bz2_toggle_root->active ) { + $template = "$template.bz2"; + } + + } + + my $new_template = $template; my $entry = Gtk::Entry->new(); $entry->set_editable( $true ); diff --git a/Changes b/Changes index 8944f3d..fc4ee9c 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,8 @@ +Changed the behavior of save_as so that when compression is chosen, the +entry won't be the same as that found in Root Filename, but instead reflects +the newly compressed file. This change was precipitated by the previous +change to the Accept behavior. + 1.3.2 - 01/11/2002 ------------------