aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xuserdrake10
1 files changed, 5 insertions, 5 deletions
diff --git a/userdrake b/userdrake
index 6d091c4..539f8f6 100755
--- a/userdrake
+++ b/userdrake
@@ -31,8 +31,8 @@ use transfugdrake;
use common;
use run_program;
use any;
-use mygtk2 qw(gtknew); #- do not import gtkadd which conflicts with ugtk2 version
-use ugtk2 qw(:all);
+use mygtk3 qw(gtknew); #- do not import gtkadd which conflicts with ugtk2 version
+use ugtk3 qw(:all);
use interactive;
use POSIX qw(mktime ceil);
use USER;
@@ -42,7 +42,7 @@ use Gtk2::Gdk::Keysyms;
use utf8;
use log;
-$ugtk2::wm_icon = "userdrake";
+$ugtk3::wm_icon = "userdrake";
my $conffile = '/etc/sysconfig/userdrake';
my $secfile = '/etc/sysconfig/msec';
@@ -80,7 +80,7 @@ my $sysfilter = text2bool($prefs{FILTER});
sub HelpSystem() { run_program::raw({ detach => 1 }, 'drakhelp', '--id', 'userdrake') }
-$us->{wnd} = ugtk2->new(N("Mageia Users Management Tool") . " " . $us->{VERSION});
+$us->{wnd} = ugtk3->new(N("Mageia Users Management Tool") . " " . $us->{VERSION});
$::main_window = $us->{wnd}{real_window};
gtkset_size_request($us->{wnd}{rwindow}, 660, 460);
$us->{wnd}{rwindow}->set_position('center') if !$::isEmbedded;
@@ -223,7 +223,7 @@ $window_splash->destroy;
undef $window_splash;
$us->{wnd}->main;
-ugtk2->exit(0);
+ugtk3->exit(0);
sub is_xguest_installed() {
-e '/etc/security/namespace.d/xguest.conf';