Bug 536185 – monitor font configuration

2008-06-06  Behdad Esfahbod  <behdad@gnome.org>

        Bug 536185 – monitor font configuration

        * configure.in:
        * gdk/x11/gdksettings.c:
        * gtk/gtksettings.c (gtk_settings_class_init),
        (gtk_settings_notify), (settings_update_fontconfig):
        Monitor xsettings key Fontconfig/Timestamp and upon change,
        reread fontconfig configuration, clear Pango's caches, and
        redraw all widgets.


svn path=/trunk/; revision=20324
This commit is contained in:
Behdad Esfahbod
2008-06-06 16:39:37 +00:00
committed by Behdad Esfahbod
parent be7eacbf3f
commit 74b8297ee3
4 changed files with 77 additions and 3 deletions

View File

@ -69,7 +69,8 @@ static const char gdk_settings_names[] =
"Gtk/EnableAccels\0" "gtk-enable-accels\0"
"Gtk/EnableMnemonics\0" "gtk-enable-mnemonics\0"
"Gtk/ScrolledWindowPlacement\0" "gtk-scrolled-window-placement\0"
"Gtk/IMModule\0" "gtk-im-module\0";
"Gtk/IMModule\0" "gtk-im-module\0"
"Fontconfig/Timestamp\0" "gtk-fontconfig-timestamp\0";
static const struct
@ -116,5 +117,6 @@ static const struct
{ 1326, 1343 },
{ 1361, 1381 },
{ 1402, 1430 },
{ 1460, 1473 }
{ 1460, 1473 },
{ 1487, 1508 }
};