From 30b193b1cc914db0698d6a7dc76f976870fd9a73 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 5 Nov 2012 16:27:24 +0000 Subject: (get_label_width) prevent a horizontal scrollbar to appear in some dialogs (mga#7374) --- perl-install/install/NEWS | 1 + perl-install/mygtk2.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index e86054c25..b1b8fc775 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,4 +1,5 @@ - adapt to new reboot path +- prevent a horizontal scrollbar to appear in some dialogs (mga#7374) Version 14.49 - 3 November 2012 diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm index 53251b72b..c66d1943f 100644 --- a/perl-install/mygtk2.pm +++ b/perl-install/mygtk2.pm @@ -1400,7 +1400,7 @@ sub get_main_window_size() { # in order to workaround infamous 6 years old gnome bug #101968: sub get_label_width() { - first(mygtk2::get_main_window_size()) - 50 - $left_padding; + first(mygtk2::get_main_window_size()) - 55 - $left_padding; } sub set_main_window_size { -- cgit v1.2.1