From 84058308b9f3a2a2c7705a01c92afae2304d10df Mon Sep 17 00:00:00 2001 From: Daouda Lo Date: Wed, 5 Sep 2001 09:33:47 +0000 Subject: button next grayed if no mdkonline account --- mdkonline | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mdkonline b/mdkonline index b1e0365c..6db3910d 100755 --- a/mdkonline +++ b/mdkonline @@ -292,7 +292,9 @@ sub step_wizard { $hbox_subs->pack_start($check_subs,0,0,1); my $button_subs = new Gtk::Button(" " . _("Subscribe") . " "); $button_subs->set_sensitive(0); - $check_subs->signal_connect (clicked => sub { $test_tog=$check_subs->get_active(); $button_subs->set_sensitive($test_tog);}); + $check_subs->signal_connect (clicked => sub {$test_tog=$check_subs->get_active(); + $button_subs->set_sensitive($test_tog); + $Button_Next->set_sensitive(!$test_tog); }); $button_subs->signal_connect(clicked => \&subscribe_mdkonline); $hbox_subs->pack_start($button_subs,0,0,1); $notebook_global->append_page($vbox_welc,new Gtk::Label("welcome")); -- cgit v1.2.1