summaryrefslogtreecommitdiffstats
path: root/perl-install/services.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-02-20 14:53:09 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-02-20 14:53:09 +0000
commitc5159a7ccd7fdec39654fb574652dc27fd950c76 (patch)
treef077353d8e358a8c71bbfda3fb3ceaadb6baca8c /perl-install/services.pm
parent120e94af912fc1666b7afbfda7ee055bb3e7f0fa (diff)
downloaddrakx-backup-do-not-use-c5159a7ccd7fdec39654fb574652dc27fd950c76.tar
drakx-backup-do-not-use-c5159a7ccd7fdec39654fb574652dc27fd950c76.tar.gz
drakx-backup-do-not-use-c5159a7ccd7fdec39654fb574652dc27fd950c76.tar.bz2
drakx-backup-do-not-use-c5159a7ccd7fdec39654fb574652dc27fd950c76.tar.xz
drakx-backup-do-not-use-c5159a7ccd7fdec39654fb574652dc27fd950c76.zip
Gtk2::Label::set is deprecated
Diffstat (limited to 'perl-install/services.pm')
-rw-r--r--perl-install/services.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/services.pm b/perl-install/services.pm
index d25855102..cfc560605 100644
--- a/perl-install/services.pm
+++ b/perl-install/services.pm
@@ -201,7 +201,7 @@ sub ask_standalone_gtk {
my $update_service = sub {
my $started = -e "/var/lock/subsys/$_[0]";
my $action = $started ? "stop" : "start";
- $_[1]->set($started ? N("running") : N("stopped"));
+ $_[1]->set_label($started ? N("running") : N("stopped"));
$started, $action;
};
my $b = Gtk2::EventBox->new;