diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-18 02:45:58 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-12-20 10:25:03 +0100 |
commit | 37f3b1c36446f1ec88293cfc0be1d41b6d627bb8 (patch) | |
tree | 8315f3fba7b8209c267b591b7ab2c62775d420b7 /drakconsole | |
parent | aa44065fd26b2785b8ac67b2d99b1ecb4c97c04d (diff) | |
download | control-center-37f3b1c36446f1ec88293cfc0be1d41b6d627bb8.tar control-center-37f3b1c36446f1ec88293cfc0be1d41b6d627bb8.tar.gz control-center-37f3b1c36446f1ec88293cfc0be1d41b6d627bb8.tar.bz2 control-center-37f3b1c36446f1ec88293cfc0be1d41b6d627bb8.tar.xz control-center-37f3b1c36446f1ec88293cfc0be1d41b6d627bb8.zip |
use (my|u)gtk3 instead of *tk2
Diffstat (limited to 'drakconsole')
-rwxr-xr-x | drakconsole | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drakconsole b/drakconsole index 46d66ee0..49e004cb 100755 --- a/drakconsole +++ b/drakconsole @@ -21,15 +21,15 @@ use lib qw(/usr/lib/libDrakX); use common; use standalone; #- warning, standalone must be loaded very first, for 'explanations' -use ugtk2 qw(:create :wrappers); +use ugtk3 qw(:create :wrappers); use Gnome2::Vte; -my $w = ugtk2->new(N("DrakConsole")); +my $w = ugtk3->new(N("DrakConsole")); $w->{rwindow}->add(gtkpack_(Gtk2::VBox->new(0, 0), - 1, my $vte = gtksignal_connect(Gnome2::Vte::Terminal->new, 'child-exited' => sub { ugtk2->exit }), + 1, my $vte = gtksignal_connect(Gnome2::Vte::Terminal->new, 'child-exited' => sub { ugtk3->exit }), 0, gtkpack__(create_hbox('end'), gtksignal_connect(Gtk2::Button->new(N("Close")), - clicked => sub { ugtk2->exit }) + clicked => sub { ugtk3->exit }) ) ), ); |