summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/ugtk2.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 0d387883d..7e5788356 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,5 @@
+- fix icon alignment in banners
+
Version 11.52.1 - 24 September 2008
- libDrakX:
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index e5eb092a2..bed37c0d9 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -1459,7 +1459,7 @@ sub new {
my $padding = int(($d_height - $height)/2);
my $d_width = $darea->allocation->width;
my $x_blue = $is_rtl ? $d_width - $blue_width : 0;
- my $x_icon = $is_rtl ? $d_width - $padding - $width : $padding;
+ my $x_icon = $is_rtl ? $d_width - 12 - $width : 12;
# here: 48 is the amount of white background in the blue background we wish to ignore:
my $x_text = $is_rtl ? $d_width - $blue_width + 48 - $darea->{txt_width} : $blue_width - 48;
$darea->{layout_height} ||= (($darea->{layout}->get_size)[1])/Gtk2::Pango->scale;