summaryrefslogtreecommitdiffstats
path: root/perl-install/install_gtk.pm
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2003-11-21 12:53:39 +0000
committerMystery Man <unknown@mandriva.org>2003-11-21 12:53:39 +0000
commit7396369ef190a049b3a779a54edd76ff118f3c28 (patch)
tree20c2a6d7fcd96433d0d91b1460b5604a6d7267ce /perl-install/install_gtk.pm
parente41742b093fdb26bcae87e9d5b30d4d7bca93ea9 (diff)
downloaddrakx-backup-do-not-use-7396369ef190a049b3a779a54edd76ff118f3c28.tar
drakx-backup-do-not-use-7396369ef190a049b3a779a54edd76ff118f3c28.tar.gz
drakx-backup-do-not-use-7396369ef190a049b3a779a54edd76ff118f3c28.tar.bz2
drakx-backup-do-not-use-7396369ef190a049b3a779a54edd76ff118f3c28.tar.xz
drakx-backup-do-not-use-7396369ef190a049b3a779a54edd76ff118f3c28.zip
This commit was manufactured by cvs2svn to create tag 'MDK92-AMD64'.MDK92-AMD64
Diffstat (limited to 'perl-install/install_gtk.pm')
-rw-r--r--perl-install/install_gtk.pm13
1 files changed, 8 insertions, 5 deletions
diff --git a/perl-install/install_gtk.pm b/perl-install/install_gtk.pm
index b1cf13aeb..e8d2f7ac5 100644
--- a/perl-install/install_gtk.pm
+++ b/perl-install/install_gtk.pm
@@ -197,10 +197,12 @@ sub create_logo_window {
}
#------------------------------------------------------------------------------
-sub init_gtk() {
+sub init_gtk {
+ my ($o) = @_;
+
symlink("/tmp/stage2/etc/$_", "/etc/$_") foreach qw(gtk-2.0 pango fonts);
- if (!listlength(cat_('/proc/fb'))) {
+ if ($o->{vga16}) {
#- inactivate antialias in VGA16 because it makes fonts look worse
output('/tmp/fonts.conf',
q(<fontconfig>
@@ -241,7 +243,7 @@ if ($Driver) {
output($file, sprintf(<<'END', $mouse_type, $Driver));
Section "Files"
- FontPath "/usr/X11R6/lib/X11/fonts:unscaled"
+ FontPath "/usr/X11R6/lib/X11/fonts:unscaled"
EndSection
Section "InputDevice"
@@ -261,8 +263,9 @@ EndSection
Section "Monitor"
Identifier "monitor"
- HorizSync 31.5-35.5
- VertRefresh 50-70
+#- Let XFree86 autodetect those values
+# HorizSync 31.5-35.5
+# VertRefresh 50-70
EndSection
Section "Device"