summaryrefslogtreecommitdiffstats
path: root/perl-install/install/gtk.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-09-21 20:51:13 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-09-21 20:51:13 +0200
commitf4e7daf7b77358431b82f97ebb14910ff9988751 (patch)
tree4ff75ef9d4c7801244423d19f36b0268932689c0 /perl-install/install/gtk.pm
parent012bca800fdcddcd8aac7f65de602a45b0f70236 (diff)
downloaddrakx-f4e7daf7b77358431b82f97ebb14910ff9988751.tar
drakx-f4e7daf7b77358431b82f97ebb14910ff9988751.tar.gz
drakx-f4e7daf7b77358431b82f97ebb14910ff9988751.tar.bz2
drakx-f4e7daf7b77358431b82f97ebb14910ff9988751.tar.xz
drakx-f4e7daf7b77358431b82f97ebb14910ff9988751.zip
use new CSS syntax for font (mga#19430)
thus fixing gtk+-3.22 regression
Diffstat (limited to 'perl-install/install/gtk.pm')
-rw-r--r--perl-install/install/gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/gtk.pm b/perl-install/install/gtk.pm
index 686e31e2f..17e81999d 100644
--- a/perl-install/install/gtk.pm
+++ b/perl-install/install/gtk.pm
@@ -80,7 +80,7 @@ sub load_font {
my $font = lang::l2pango_font($o->{locale}{lang});
my $s = qq(gtk-font-name = $font);
my $pl = Gtk3::CssProvider->new;
- $pl->load_from_data("GtkWindow { font: $font }");
+ $pl->load_from_data(sprintf("GtkWindow { %s }", lang::l2css_font($o->{locale}{lang})));
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):
output("/.config/gtk-3.0/settings.ini", qq([Settings]