summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-18 15:40:12 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-28 15:39:50 +0100
commit11f9fe52ebc37367fc023e7bd2290fccbc23cd81 (patch)
tree2f478d51d7b5c6df58a94fdba258c4fdaecf8675 /common
parent7e92a121aebff4a3b99f7cbd2cadeb9d492e243e (diff)
downloaddrakwizard-11f9fe52ebc37367fc023e7bd2290fccbc23cd81.tar
drakwizard-11f9fe52ebc37367fc023e7bd2290fccbc23cd81.tar.gz
drakwizard-11f9fe52ebc37367fc023e7bd2290fccbc23cd81.tar.bz2
drakwizard-11f9fe52ebc37367fc023e7bd2290fccbc23cd81.tar.xz
drakwizard-11f9fe52ebc37367fc023e7bd2290fccbc23cd81.zip
use Gtk3 namespace instead of Gtk2
Diffstat (limited to 'common')
-rw-r--r--common/Wizcommon_gtk2.pm14
1 files 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) {