diff options
author | Yves Duret <yduret@mandriva.com> | 2001-08-10 01:50:53 +0000 |
---|---|---|
committer | Yves Duret <yduret@mandriva.com> | 2001-08-10 01:50:53 +0000 |
commit | 2bfe90e572393ac26ac1c31ed23496323a2099ec (patch) | |
tree | 77706a4a03116a5b1d9a828e2b6812363b44f017 | |
parent | 864e5f2929f60dc69b3ce68b7a2479ceb204baa7 (diff) | |
download | control-center-2bfe90e572393ac26ac1c31ed23496323a2099ec.tar control-center-2bfe90e572393ac26ac1c31ed23496323a2099ec.tar.gz control-center-2bfe90e572393ac26ac1c31ed23496323a2099ec.tar.bz2 control-center-2bfe90e572393ac26ac1c31ed23496323a2099ec.tar.xz control-center-2bfe90e572393ac26ac1c31ed23496323a2099ec.zip |
use interactive
-rwxr-xr-x | control-center | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/control-center b/control-center index 61307922..1add3978 100755 --- a/control-center +++ b/control-center @@ -45,6 +45,8 @@ sub _ { sprintf $T, @_[@p]; } +use lib qw(/usr/lib/libDrakX); +use interactive; my $in = 'interactive'->vnew('su', 'default'); !$ENV{DISPLAY} and exec ("$_sbindir/drakxconf; reset"); @@ -313,7 +315,7 @@ sub create_tree_item { my ($parent_tree, $label, $pixmap, $tree_depth_max) =@_; my $expanded=0; - my $treeitem, $treebox, $new_subtree; + my ($treeitem, $treebox, $new_subtree); $treeitem = new Gtk::TreeItem(); $treebox = xpm_label_box($window_global,$pixmap,$label, !$tree_depth_max); $treeitem->add($treebox); |