diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-05-19 06:17:23 -0400 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-05-19 19:33:31 +0200 |
commit | b268870a7af9c251a9e4e61488fe1ee5eb35191f (patch) | |
tree | d865e41755f4e29ce311e8337385d968125a6546 | |
parent | 7ee5b57055caee0be8e2796ec58f1a5139ab5f7d (diff) | |
download | drakx-b268870a7af9c251a9e4e61488fe1ee5eb35191f.tar drakx-b268870a7af9c251a9e4e61488fe1ee5eb35191f.tar.gz drakx-b268870a7af9c251a9e4e61488fe1ee5eb35191f.tar.bz2 drakx-b268870a7af9c251a9e4e61488fe1ee5eb35191f.tar.xz drakx-b268870a7af9c251a9e4e61488fe1ee5eb35191f.zip |
fix setting banner icon top margin (mga#12358)
Gtk3's gtk_widget_set_margin_top() really is buged when margin < 0
bug introduced in commit f5ed08a589bc9081c68188c464a5a978557d0b2a
-rw-r--r-- | perl-install/NEWS | 2 | ||||
-rw-r--r-- | perl-install/ugtk3.pm | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index 30b170bd3..d06ae36f6 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,5 @@ +- all tools: + o fix banner icon being cliped (mga#12358) - drakfont: o fix crash (mga#13627) o fix crash with --windows_import (mga9347) diff --git a/perl-install/ugtk3.pm b/perl-install/ugtk3.pm index 4defb61d6..196f9c4dc 100644 --- a/perl-install/ugtk3.pm +++ b/perl-install/ugtk3.pm @@ -1398,7 +1398,7 @@ sub new { } else { $icon_img->set_margin_left(12); } - $icon_img->set_margin_top(($blue_part->get_height-$icon->get_height)/2-4); + $icon_img->set_margin_top(($blue_part->get_height-$icon->get_height)/2); $w->{label} = $label; $w->set_size_request(-1, $d_height); |