summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk3.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-17 11:29:12 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 23:28:18 +0100
commit197d74ac91c99274b772342636e6c3bc33cec3e5 (patch)
tree75f03bf37f4e9778658d9f756398891743e156a6 /perl-install/mygtk3.pm
parentef918297c8f6ca912fb61028b59f4a049c08683c (diff)
downloaddrakx-197d74ac91c99274b772342636e6c3bc33cec3e5.tar
drakx-197d74ac91c99274b772342636e6c3bc33cec3e5.tar.gz
drakx-197d74ac91c99274b772342636e6c3bc33cec3e5.tar.bz2
drakx-197d74ac91c99274b772342636e6c3bc33cec3e5.tar.xz
drakx-197d74ac91c99274b772342636e6c3bc33cec3e5.zip
handle alignment for Images too (needed for banners)
Diffstat (limited to 'perl-install/mygtk3.pm')
-rw-r--r--perl-install/mygtk3.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/mygtk3.pm b/perl-install/mygtk3.pm
index c3f48c456..468d57420 100644
--- a/perl-install/mygtk3.pm
+++ b/perl-install/mygtk3.pm
@@ -326,6 +326,7 @@ sub _gtk__Image {
if (!$w) {
$w = Gtk3::Image->new;
+ $w->set_alignment(@{delete $opts->{alignment}}) if exists $opts->{alignment};
$w->{format} = delete $opts->{format} if exists $opts->{format};
$w->set_from_stock(delete $opts->{stock}, 'button') if exists $opts->{stock};