summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-12 15:34:28 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-12 15:34:28 +0000
commit8fd599271cbb9a41e6a6988ebc384a8912453f90 (patch)
tree6c26647766b33b3bd75b56010529f82d14075973
parenta569e0f35ee5e2e69c21ec9392fd2f8dc99ae0c9 (diff)
downloadcontrol-center-8fd599271cbb9a41e6a6988ebc384a8912453f90.tar
control-center-8fd599271cbb9a41e6a6988ebc384a8912453f90.tar.gz
control-center-8fd599271cbb9a41e6a6988ebc384a8912453f90.tar.bz2
control-center-8fd599271cbb9a41e6a6988ebc384a8912453f90.tar.xz
control-center-8fd599271cbb9a41e6a6988ebc384a8912453f90.zip
let main screen be scrollable for small screen owners
-rwxr-xr-xcontrol-center10
1 files changed, 8 insertions, 2 deletions
diff --git a/control-center b/control-center
index 6b13d385..fcb7a729 100755
--- a/control-center
+++ b/control-center
@@ -639,8 +639,14 @@ foreach (@tree) {
add2notebook($banner_notebook, "", Gtk2::Banner->new("title-back", "/usr/share/icons/large/drakconf.png", $text, $font));
}
-gtkadd($main_page, create_packtable({ col_spacings => $spacing, row_spacings => $spacing, homogeneous => 1, mcc => 1 }, group_by3(@main_icons)));
-
+gtkadd($main_page,
+ create_scrolled_window(create_packtable({ col_spacings => $spacing, row_spacings => $spacing, homogeneous => 1, mcc => 1 },
+ group_by3(@main_icons)),
+ [ 'never', 'automatic' ],
+ 'none',
+ )
+ );
+
#$emb_frame->set_size_request(-1, $index * 50);