From 279b200bb8e833a6ce57c47394e04b414993b8c0 Mon Sep 17 00:00:00 2001 From: David J Drewelow Date: Sat, 3 Feb 2007 00:56:12 +0000 Subject: [PATCH] Changed deprecated call from Immunix::Ycp to ycp:: --- management/yastui/src/perl/Notify.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/management/yastui/src/perl/Notify.pm b/management/yastui/src/perl/Notify.pm index 393ce3fcf..9a4692167 100755 --- a/management/yastui/src/perl/Notify.pm +++ b/management/yastui/src/perl/Notify.pm @@ -24,7 +24,7 @@ use POSIX; use Locale::gettext; setlocale(LC_MESSAGES, ""); -textdomain("yast2-apparmor"); +textdomain("apparmor-utils"); use constant NTCONF => '/etc/apparmor/notify.cfg'; @@ -48,7 +48,7 @@ sub updateFiles { if ( unlink("$oldFile") ) { if ( ! rename ("$newFile", "$oldFile") ) { if ( ! system('/bin/mv', "$newFile","$oldFile") ) { - Immunix::Ycp::y2error(sprintf(gettext("Failed copying %s."), $oldFile)); + ycp::y2error(sprintf(gettext("Failed copying %s."), $oldFile)); return 1; } }