summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-02-19 09:41:04 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-02-19 10:07:35 +0100
commit1d57ba59bedf6fae41301720e71839eb91db3cce (patch)
treea05b8415fa7bf3d7f101aec20260ab0a14a9908b
parent5299ba867274d525787d76f84fbfaaa6ff1b5370 (diff)
downloaddrakx-1d57ba59bedf6fae41301720e71839eb91db3cce.tar
drakx-1d57ba59bedf6fae41301720e71839eb91db3cce.tar.gz
drakx-1d57ba59bedf6fae41301720e71839eb91db3cce.tar.bz2
drakx-1d57ba59bedf6fae41301720e71839eb91db3cce.tar.xz
drakx-1d57ba59bedf6fae41301720e71839eb91db3cce.zip
use an horizontal scrolling bar when needed
gtk+ sometimes doesn't respect our sizing which causes the container to enlarge (see previous commit) with previous commit, this reduce the risk of having too small buttons, and fixes several issues in the installer: - buttons being too big causing their box & thus the dialog to increase which triggers a gtk+ bug which makes the window to jump (mga#12422) - as well as several other related issues (mga#11988, mga#14839, mga#15272, mga#15264)
-rw-r--r--perl-install/NEWS3
-rw-r--r--perl-install/diskdrake/hd_gtk.pm2
-rw-r--r--perl-install/install/NEWS3
3 files changed, 5 insertions, 3 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 69a369ae0..55293764c 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,4 +1,5 @@
-- diskdrake:
+- diskdrake (mga#12422, mga#11988, mga#14839, mga#15272, mga#15264):
+ o use an horizontal scrolling bar when needed
o workaround too wide togglebuttons with empty label with gtk+3 and/or Adwaita
Version 16.56 - 10 February 2015
diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm
index a2a791cf7..72ffa324c 100644
--- a/perl-install/diskdrake/hd_gtk.pm
+++ b/perl-install/diskdrake/hd_gtk.pm
@@ -179,7 +179,7 @@ sub add_kind2notebook {
$kind->{info_box} = Gtk3::VBox->new(0,0);
my $box =
gtkpack_(Gtk3::VBox->new(0,7),
- 0, $kind->{display_box},
+ 0, create_scrolled_window($kind->{display_box}, [ 'automatic', 'never' ]),
0, filesystems_button_box(),
1, $kind->{info_box});
$kind->{main_box} = gtknew('HBox', spacing => 5, children => [
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index a46b12e3e..a585cbb57 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,4 +1,5 @@
-- partitioning:
+- partitioning (mga#12422, mga#11988, mga#14839, mga#15272, mga#15264):
+ o use an horizontal scrolling bar when needed
o workaround too wide togglebuttons with empty label with gtk+3 and/or Adwaita
Version 16.61 - 18 February 2015