summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-18 15:42:30 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-28 15:38:21 +0100
commit9cb4f1ab3aaafd088ba997d2d4b4d2cd9ef5847b (patch)
tree8da81aa21f7abac91e8f82a7e7a57b586f62d998
parent45d41f648c8a8e172b2f86315bc1d55059928c09 (diff)
downloaddrakguard-9cb4f1ab3aaafd088ba997d2d4b4d2cd9ef5847b.tar
drakguard-9cb4f1ab3aaafd088ba997d2d4b4d2cd9ef5847b.tar.gz
drakguard-9cb4f1ab3aaafd088ba997d2d4b4d2cd9ef5847b.tar.bz2
drakguard-9cb4f1ab3aaafd088ba997d2d4b4d2cd9ef5847b.tar.xz
drakguard-9cb4f1ab3aaafd088ba997d2d4b4d2cd9ef5847b.zip
use (my|u)gtk3 instead of *tk2
-rwxr-xr-xbin/drakguard8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/drakguard b/bin/drakguard
index 5b34430..c681bec 100755
--- a/bin/drakguard
+++ b/bin/drakguard
@@ -7,8 +7,8 @@ use strict;
use diagnostics;
use common;
use standalone;
-use mygtk2;
-use ugtk2 qw(:create :helpers :wrappers);
+use mygtk3;
+use ugtk3 qw(:create :helpers :wrappers);
use Gtk2::SimpleList;
use interactive;
use network::shorewall;
@@ -77,8 +77,8 @@ my $toolname = 'drakguard';
my $title = N("Parental Control");
my $icon = 'drakguard';
-$ugtk2::wm_icon = $icon;
-my $w = ugtk2->new($title);
+$ugtk3::wm_icon = $icon;
+my $w = ugtk3->new($title);
#- so that transient_for is defined, for wait messages and popups to be centered
$::main_window = $w->{real_window};
my $in = interactive->vnew('su');