summaryrefslogtreecommitdiffstats
path: root/perl-install/install/gtk.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-05-04 09:32:09 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-05-04 11:42:23 +0200
commit8b5870229d9d1107453fce96218574ec28974060 (patch)
tree8c7c2b02cae8e6b54991136074af9ff2a84fa2b7 /perl-install/install/gtk.pm
parent08d993981ce3632ca06c76fc9a1744f15bf96668 (diff)
downloaddrakx-8b5870229d9d1107453fce96218574ec28974060.tar
drakx-8b5870229d9d1107453fce96218574ec28974060.tar.gz
drakx-8b5870229d9d1107453fce96218574ec28974060.tar.bz2
drakx-8b5870229d9d1107453fce96218574ec28974060.tar.xz
drakx-8b5870229d9d1107453fce96218574ec28974060.zip
make CSD support available to forked processes
just make CSD CSS rules global (mga#18332)
Diffstat (limited to 'perl-install/install/gtk.pm')
-rw-r--r--perl-install/install/gtk.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/install/gtk.pm b/perl-install/install/gtk.pm
index c83b8e6a7..686e31e2f 100644
--- a/perl-install/install/gtk.pm
+++ b/perl-install/install/gtk.pm
@@ -83,7 +83,6 @@ sub load_font {
$pl->load_from_data("GtkWindow { font: $font }");
Gtk3::StyleContext::add_provider_for_screen(Gtk3::Gdk::Screen::get_default(), $pl, Gtk3::STYLE_PROVIDER_PRIORITY_APPLICATION);
# FIXME: this should be done in /mnt too for forked app such as gurpmi{,.addmedia} (mga#67):
- mkdir_p("/.config/gtk-3.0");
output("/.config/gtk-3.0/settings.ini", qq([Settings]
$s
));
@@ -195,6 +194,11 @@ sub init_gtk {
symlink("/tmp/stage2/etc/$_", "/etc/$_") foreach qw(gtk-3.0 pango fonts);
+ # Custom _global_ CSS:
+ mkdir_p("/.config/gtk-3.0"); # TODO/FIXME: set ENV{HOME} ?
+ # FIXME: this should be done in /mnt too for forked app such as gurpmi{,.addmedia} (mga#67):
+ symlinkf('/usr/lib/libDrakX/gtk.css', '/.config/gtk-3.0/gtk.css');
+
if ($o->{vga16}) {
#- inactivate antialias in VGA16 because it makes fonts look worse
output('/tmp/fonts.conf',