--- gnome-screensaver-3.0.0/src/gs-lock-plug.c	2011-03-04 04:22:47.000000000 +0300
+++ gnome-screensaver-3.0.0-layout-indication/src/gs-lock-plug.c	2011-07-18 23:33:57.789471642 +0400
@@ -1398,6 +1398,10 @@ create_page_one (GSLockPlug *plug)
         gtk_box_pack_start (GTK_BOX (hbox), vbox2, TRUE, TRUE, 0);
         gtk_container_set_border_width (GTK_CONTAINER (vbox2), 10);
 
+#ifdef WITH_KBD_LAYOUT_INDICATOR
+        gtk_box_pack_start (GTK_BOX (hbox), plug->priv->auth_prompt_kbd_layout_indicator, FALSE, FALSE, 0);
+#endif
+
         plug->priv->auth_prompt_label = gtk_label_new_with_mnemonic (_("_Password:"));
         gtk_misc_set_alignment (GTK_MISC (plug->priv->auth_prompt_label), 0, 0.5);
         gtk_box_pack_start (GTK_BOX (vbox2), plug->priv->auth_prompt_label, FALSE, FALSE, 0);
@@ -1482,6 +1486,8 @@ gs_lock_plug_init (GSLockPlug *plug)
         plug->priv->vbox = gtk_vbox_new (FALSE, 0);
         gtk_container_add (GTK_CONTAINER (plug->priv->frame), plug->priv->vbox);
 
+        plug->priv->auth_prompt_kbd_layout_indicator = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
+
         /* Notebook */
         plug->priv->notebook = gtk_notebook_new ();
         gtk_notebook_set_show_tabs (GTK_NOTEBOOK (plug->priv->notebook), FALSE);
