[gnome-screensaver] Return layout indicator to the screensaver unlock dialog
- From: Sergey V. Udaltsov <svu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-screensaver] Return layout indicator to the screensaver unlock dialog
- Date: Thu, 11 Aug 2011 23:30:53 +0000 (UTC)
commit 3f2d6598e9896520b745fe16e10a6485b904b3fa
Author: Victor Antonovich <v antonovich gmail com>
Date: Fri Aug 12 00:28:12 2011 +0100
Return layout indicator to the screensaver unlock dialog
https://bugzilla.gnome.org/show_bug.cgi?id=642072
src/gs-lock-plug.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-lock-plug.c b/src/gs-lock-plug.c
index 6706fde..e54cb49 100644
--- a/src/gs-lock-plug.c
+++ b/src/gs-lock-plug.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]