[gtk/peek-password: 2/11] password entry: Initialize capslock state
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/peek-password: 2/11] password entry: Initialize capslock state
- Date: Thu, 14 Mar 2019 02:28:42 +0000 (UTC)
commit 63082c30e9ca74f585e3e404d23d038c555352e8
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Mar 13 16:34:27 2019 -0400
password entry: Initialize capslock state
The icon was erroneously showing up before the first
focus-in event.
gtk/gtkpasswordentry.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gtk/gtkpasswordentry.c b/gtk/gtkpasswordentry.c
index 9a48bee547..847056eecf 100644
--- a/gtk/gtkpasswordentry.c
+++ b/gtk/gtkpasswordentry.c
@@ -124,6 +124,7 @@ gtk_password_entry_realize (GtkWidget *widget)
priv->keymap = gdk_display_get_keymap (gtk_widget_get_display (widget));
g_signal_connect (priv->keymap, "state-changed", G_CALLBACK (keymap_state_changed), entry);
+ keymap_state_changed (priv->keymap, widget);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]