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.
This commit is contained in:
freesource
2002-01-14 00:41:27 +00:00
parent 5906dfad96
commit 769e0b8200
2 changed files with 17 additions and 0 deletions
+12
View File
@@ -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 );