summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-08-27 17:47:00 +0000
committerThierry Vignaud <tv@mandriva.org>2008-08-27 17:47:00 +0000
commit044f268d6f6a2478865219900670370a00b4c58c (patch)
tree8080cb377fe6125b95567dc81ed2d07200ac9386
parent3d3e74d93616c8b32dbfc65e6e18e6dd0a13c85d (diff)
downloaddrakx-044f268d6f6a2478865219900670370a00b4c58c.tar
drakx-044f268d6f6a2478865219900670370a00b4c58c.tar.gz
drakx-044f268d6f6a2478865219900670370a00b4c58c.tar.bz2
drakx-044f268d6f6a2478865219900670370a00b4c58c.tar.xz
drakx-044f268d6f6a2478865219900670370a00b4c58c.zip
(get_label_width) introduce it in order to workaround infamous 6 years old gnome bug #101968
-rw-r--r--perl-install/mygtk2.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index d411fc2a2..ccd22522e 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -1198,6 +1198,10 @@ sub _allow_scroll_TextView_to_bottom {
};
}
+sub get_label_width() {
+ first(mygtk2::get_main_window_size()) - 50;
+}
+
sub set_main_window_size {
my ($window) = @_;
my ($width, $height) = $::real_windowwidth ? ($::real_windowwidth, $::real_windowheight) : $::isWizard ? (540, 360) : (600, 400);