diff --git a/libgnomekbd/gkbd-indicator-config.c b/libgnomekbd/gkbd-indicator-config.c
index 38acecc..160ad21 100644
--- a/libgnomekbd/gkbd-indicator-config.c
+++ b/libgnomekbd/gkbd-indicator-config.c
@@ -113,8 +113,8 @@ gkbd_indicator_config_load_font (GkbdIndicatorConfig * ind_config)
 		PangoFontDescription *fd;
 		GtkStyle *style =
 		    gtk_rc_get_style_by_paths (gtk_settings_get_default (),
-					       GTK_STYLE_PATH,
-					       GTK_STYLE_PATH,
+					       "*PanelWidget*",
+					       "*PanelWidget*",
 					       GTK_TYPE_LABEL);
 		fd = style->font_desc;
 		if (fd != NULL) {
@@ -151,8 +151,8 @@ gkbd_indicator_config_load_colors (GkbdIndicatorConfig * ind_config)
 	    ind_config->foreground_color[0] == '\0') {
 		GtkStyle *style =
 		    gtk_rc_get_style_by_paths (gtk_settings_get_default (),
-					       GTK_STYLE_PATH,
-					       GTK_STYLE_PATH,
+					       "*PanelWidget*",
+					       "*PanelWidget*",
 					       GTK_TYPE_LABEL);
 		ind_config->foreground_color =
 		    g_strdup_printf ("%lg %lg %lg",
