summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-28 14:03:26 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-28 14:03:56 +0100
commitac770b60cddb20587a87bafb35b61c6810a0bf42 (patch)
tree5a86a73b9b7a67486677100ea34f3bf8a0c37264
parentf13a8c6e1a5b9ea7bbc0e8c824ff73279359a7a3 (diff)
downloaddrakx-ac770b60cddb20587a87bafb35b61c6810a0bf42.tar
drakx-ac770b60cddb20587a87bafb35b61c6810a0bf42.tar.gz
drakx-ac770b60cddb20587a87bafb35b61c6810a0bf42.tar.bz2
drakx-ac770b60cddb20587a87bafb35b61c6810a0bf42.tar.xz
drakx-ac770b60cddb20587a87bafb35b61c6810a0bf42.zip
banners text is rendered as blue again
in commit f5ed08a589bc9081c68188c464a5a978557d0b2a, we mistakely removed the widget name...
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/ugtk3.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index c65b6c94b..63cae8189 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -3,6 +3,7 @@
o fix Gtk2 banners' text position (mga#11778)
- Banners:
o align text to left instead of centering it
+ o text is rendered as blue again
Version 16.0 - 23 November 2013
diff --git a/perl-install/ugtk3.pm b/perl-install/ugtk3.pm
index bbca18213..8f8fdcc21 100644
--- a/perl-install/ugtk3.pm
+++ b/perl-install/ugtk3.pm
@@ -1384,7 +1384,7 @@ sub new {
my $img = gtknew('Image', pixbuf => $blue_part, alignment => [ 0, 0 ]);
my $label = gtknew('Label', text => $text, padding => [ 100, 0 ], alignment => [ 0, 0.5 ]); # for update_text()
- my $w = gtknew('Overlay', height => $d_height, main_child => $label, children => [
+ my $w = gtknew('Overlay', height => $d_height, widget_name => 'Banner', main_child => $label, children => [
gtknew('Overlay', main_child => $img, children => [
my $icon_img = gtknew('Image', pixbuf => $icon, alignment => [ 0, 0 ]),
])