diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-05-25 08:23:02 -0400 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-01-02 14:59:46 +0100 |
commit | fe013012234a58930a0e899487370c619bbf786b (patch) | |
tree | 61ca2355b46437640e4859b8a82cd92cbbaa087a /perl-install/mygtk3.pm | |
parent | 9e6b04e139bdba52466bb93db9e93b2b4933991b (diff) | |
download | drakx-fe013012234a58930a0e899487370c619bbf786b.tar drakx-fe013012234a58930a0e899487370c619bbf786b.tar.gz drakx-fe013012234a58930a0e899487370c619bbf786b.tar.bz2 drakx-fe013012234a58930a0e899487370c619bbf786b.tar.xz drakx-fe013012234a58930a0e899487370c619bbf786b.zip |
switch from obsolete [HV]Panel to Panel widget
Diffstat (limited to 'perl-install/mygtk3.pm')
-rw-r--r-- | perl-install/mygtk3.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/mygtk3.pm b/perl-install/mygtk3.pm index f0f2bfaad..fb01ddfed 100644 --- a/perl-install/mygtk3.pm +++ b/perl-install/mygtk3.pm @@ -1093,7 +1093,7 @@ sub _gtk_any_Paned { my ($w, $opts, $class, $action) = @_; if (!$w) { - $w = "Gtk3::$class"->new; + $w = Gtk3::Paned->new($class =~ /V/ ? 'vertical' : 'horizontal'); $w->set_border_width(delete $opts->{border_width}) if exists $opts->{border_width}; $w->set_position(delete $opts->{position}) if exists $opts->{position}; } elsif ($action eq 'gtkset') { |