summaryrefslogtreecommitdiffstats
path: root/mdkonline
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2001-09-05 09:33:47 +0000
committerDaouda Lo <daouda@mandriva.com>2001-09-05 09:33:47 +0000
commit84058308b9f3a2a2c7705a01c92afae2304d10df (patch)
tree27d211fd66bd73dd2f03303ed453d11c9b2a5d83 /mdkonline
parent178b6e3f1ea2723375cfb1389187c2b5055db810 (diff)
downloadmgaonline-84058308b9f3a2a2c7705a01c92afae2304d10df.tar
mgaonline-84058308b9f3a2a2c7705a01c92afae2304d10df.tar.gz
mgaonline-84058308b9f3a2a2c7705a01c92afae2304d10df.tar.bz2
mgaonline-84058308b9f3a2a2c7705a01c92afae2304d10df.tar.xz
mgaonline-84058308b9f3a2a2c7705a01c92afae2304d10df.zip
button next grayed if no mdkonline account
Diffstat (limited to 'mdkonline')
-rwxr-xr-xmdkonline4
1 files changed, 3 insertions, 1 deletions
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"));