[libgnomekbd] Handle font options changes



commit 53628c62b8d299c89ebf01375f185092c4f5af4d
Author: Sergey V. Udaltsov <svu gnome org>
Date:   Sat Apr 17 02:09:45 2010 +0100

    Handle font options changes

 libgnomekbd/gkbd-status.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libgnomekbd/gkbd-status.c b/libgnomekbd/gkbd-status.c
index 6e9733b..90731af 100644
--- a/libgnomekbd/gkbd-status.c
+++ b/libgnomekbd/gkbd-status.c
@@ -666,6 +666,10 @@ gkbd_status_init (GkbdStatus * gki)
 				"notify::gtk-font-name",
 				G_CALLBACK (gkbd_status_theme_changed),
 				gki);
+	g_signal_connect_after (gdk_screen_get_default (),
+				"notify::font-options",
+				G_CALLBACK (gkbd_status_theme_changed),
+				gki);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]