diff options
author | Daouda Lo <daouda@mandriva.com> | 2001-02-27 02:01:02 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2001-02-27 02:01:02 +0000 |
commit | 6d91fd78bce4592b144c608766f787b145a40e2a (patch) | |
tree | 58e7652ea6f7aadfd951b304554d7d3782e847fa | |
parent | 2ec6f2054e5890e0e084e3bc764338aae988d8f2 (diff) | |
download | control-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-x | control-center3 | 5 |
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; |