From 11f9fe52ebc37367fc023e7bd2290fccbc23cd81 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 18 Nov 2013 15:40:12 +0100 Subject: use Gtk3 namespace instead of Gtk2 --- common/Wizcommon_gtk2.pm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/common/Wizcommon_gtk2.pm b/common/Wizcommon_gtk2.pm index 07526863..a5b89acb 100644 --- a/common/Wizcommon_gtk2.pm +++ b/common/Wizcommon_gtk2.pm @@ -31,12 +31,12 @@ sub wizard_progress_bar { my $my_win = ugtk3->new(""); my $window1 = $my_win->{window}; gtkadd($window1, - gtkpack(Gtk2::VBox->new(0,0), - gtkpack_(Gtk2::VBox->new(0, 3), - 0, my $text = Gtk2::Label->new($descr), - 0, my $text2 = Gtk2::Label->new, - 0, Gtk2::HSeparator->new, - 0, my $pbar = Gtk2::ProgressBar->new, + gtkpack(Gtk3::VBox->new(0,0), + gtkpack_(Gtk3::VBox->new(0, 3), + 0, my $text = Gtk3::Label->new($descr), + 0, my $text2 = Gtk3::Label->new, + 0, Gtk3::HSeparator->new, + 0, my $pbar = Gtk3::ProgressBar->new, ), ), ); @@ -72,7 +72,7 @@ sub gtk_log { #my $pid; gtkadd($window1, gtknew('VBox', spacing => 3, children => [ - 0, Gtk2::Label->new($text), + 0, Gtk3::Label->new($text), 1, gtknew('ScrolledWindow', to_bottom => 1, child => $log_text), # 0, gtksignal_connect(gtknew('Button', text => N("cancel")), clicked => sub { # if ($pid) { -- cgit v1.2.1