diff options
author | Daouda Lo <daouda@mandriva.com> | 2001-09-05 09:33:47 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2001-09-05 09:33:47 +0000 |
commit | 84058308b9f3a2a2c7705a01c92afae2304d10df (patch) | |
tree | 27d211fd66bd73dd2f03303ed453d11c9b2a5d83 | |
parent | 178b6e3f1ea2723375cfb1389187c2b5055db810 (diff) | |
download | mgaonline-84058308b9f3a2a2c7705a01c92afae2304d10df.tar mgaonline-84058308b9f3a2a2c7705a01c92afae2304d10df.tar.gz mgaonline-84058308b9f3a2a2c7705a01c92afae2304d10df.tar.bz2 mgaonline-84058308b9f3a2a2c7705a01c92afae2304d10df.tar.xz mgaonline-84058308b9f3a2a2c7705a01c92afae2304d10df.zip |
button next grayed if no mdkonline account
-rwxr-xr-x | mdkonline | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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")); |