-
Committer:
Bileto Bot
-
Author(s):
Alberts Muktupāvels
-
Date:
2016-06-21 13:09:47 UTC
-
mfrom:
(4052.2.11 tmp)
-
Revision ID:
ci-train-bot@canonical.com-20160621130947-c7gobz878s4jfxw3
gtk-window-decorator: improve titlebar font handling.
In Metacity 3.20 titlebar font is handled internally. To use custom / non-system titlebar font meta_theme_set_titlebar_font must be called with custom font. gwd_theme_metacity_update_titlebar_font is place were it will be done.
Previous Metacity versions has function to create titlebar font. Lets use it to make sure that decorations are equal between gtk-window-decorator and Metacity.
Old code on titlebar font change did unneeded work if not-system font was used. In update-frames signal old font was destroyed and then recreated. After that in update-decorations signal it was done again.