Browse Source

Only gives $mtab a value on cancel if it is a bootloader check.

master
freesource 23 years ago
parent
commit
d1cd32b44d
  1. 3
      gbootroot

3
gbootroot

@ -3993,7 +3993,8 @@ sub mtab_window {
$button->grab_default; $button->grab_default;
$button->show; $button->show;
$button = Gtk::Button->new("Cancel"); $button = Gtk::Button->new("Cancel");
$button->signal_connect("clicked", sub { destroy $mtab; $mtab = 2; } ); $button->signal_connect("clicked", sub { destroy $mtab;
$mtab = 2 if $count == 3; } );
$mtab->action_area->pack_start($button, $false, $false,0); $mtab->action_area->pack_start($button, $false, $false,0);
$button->show; $button->show;
} }

Loading…
Cancel
Save