mirror of
https://github.com/fspc/gbootroot.git
synced 2025-02-22 16:43:23 -05:00
Removed some fluff which was causing an undef.
This commit is contained in:
parent
31ad9e7b89
commit
91fbd839c5
@ -1034,7 +1034,7 @@ sub yard_menu {
|
|||||||
sub save_as {
|
sub save_as {
|
||||||
|
|
||||||
# Will just use a dialog box.
|
# Will just use a dialog box.
|
||||||
my ($dialog,$error,$count,$pattern) = @_;
|
my ($error,$count,$pattern) = @_;
|
||||||
|
|
||||||
if (not defined $save_as) {
|
if (not defined $save_as) {
|
||||||
$save_as = Gtk::Dialog->new();
|
$save_as = Gtk::Dialog->new();
|
||||||
@ -1054,7 +1054,7 @@ sub save_as {
|
|||||||
$save_as->vbox->pack_start( $entry, $false, $false, 0);
|
$save_as->vbox->pack_start( $entry, $false, $false, 0);
|
||||||
$entry->show();
|
$entry->show();
|
||||||
|
|
||||||
my $label = Gtk::Label->new($dialog);
|
my $label = Gtk::Label->new();
|
||||||
$label->set_justify( 'left' );
|
$label->set_justify( 'left' );
|
||||||
$label->set_pattern("_________") if defined $pattern;
|
$label->set_pattern("_________") if defined $pattern;
|
||||||
$save_as->vbox->pack_start( $label, $false, $false, 2 );
|
$save_as->vbox->pack_start( $label, $false, $false, 2 );
|
||||||
@ -1087,7 +1087,7 @@ sub save_as {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
destroy $save_as;
|
destroy $save_as;
|
||||||
save_as($dialog,$error,$count) if $error == 0;
|
save_as($error,$count) if $error == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user