summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2001-02-27 02:01:02 +0000
committerDaouda Lo <daouda@mandriva.com>2001-02-27 02:01:02 +0000
commit6d91fd78bce4592b144c608766f787b145a40e2a (patch)
tree58e7652ea6f7aadfd951b304554d7d3782e847fa
parent2ec6f2054e5890e0e084e3bc764338aae988d8f2 (diff)
downloadcontrol-center-6d91fd78bce4592b144c608766f787b145a40e2a.tar
control-center-6d91fd78bce4592b144c608766f787b145a40e2a.tar.gz
control-center-6d91fd78bce4592b144c608766f787b145a40e2a.tar.bz2
control-center-6d91fd78bce4592b144c608766f787b145a40e2a.tar.xz
control-center-6d91fd78bce4592b144c608766f787b145a40e2a.zip
add root authentification
-rwxr-xr-xcontrol-center35
1 files changed, 4 insertions, 1 deletions
diff --git a/control-center3 b/control-center3
index ba802bbd..3ae95650 100755
--- a/control-center3
+++ b/control-center3
@@ -26,6 +26,8 @@ use Gtk::Gdk::ImlibImage;
use Config;
use Env;
use POSIX;
+use lib qw(/usr/lib/libDrakX);
+use interactive;
# for i18n
use Locale::GetText;
@@ -39,6 +41,7 @@ init Gtk;
Gtk::Gdk::ImlibImage->init;
use Data::Dumper;
+my $in = vnew interactive ('su');
my $false = 0;
my $true = 1;
@@ -192,7 +195,7 @@ sub draw_exposed {
my $style = new Gtk::Style;
my $style_dflt = new Gtk::Style;
$style->font(Gtk::Gdk::Font->fontset_load(_("-adobe-times-bold-r-normal--17-*-100-100-p-*-iso8859-*,*-r-*")));
-# $pix->draw_string($style->font, $darea1->style->black_gc, 100, 170, _("The Mandrake Control Center") );
+# $pix->draw_string($style->font, $darea1->style->black_gc, 100, 170, _("The Mandrake Control Center") );
$pix->draw_string($style->font, $darea1->style->black_gc, 73, 170, ("The place where you can configure your Mandrake Box") );
my @revtree;