summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorMasatake YAMATO <yamato@redhat.com>2012-03-15 19:06:11 -0400
committerRay Strode <rstrode@redhat.com>2012-03-15 19:06:11 -0400
commit8329b53fa16bbb4d048f852861637665c6552079 (patch)
tree3826e837e26a394f8f2f8ca8b8909f908fe2914e /gui
parentcdccccfe80578b801121fa66870239d9fcd7390a (diff)
downloadgdm-8329b53fa16bbb4d048f852861637665c6552079.tar.gz
greeter: stop warning message in log
Diffstat (limited to 'gui')
-rw-r--r--gui/simple-greeter/gdm-greeter-login-window.c2
-rw-r--r--gui/simple-greeter/gdm-greeter-login-window.ui2
2 files changed, 3 insertions, 1 deletions
diff --git a/gui/simple-greeter/gdm-greeter-login-window.c b/gui/simple-greeter/gdm-greeter-login-window.c
index 70192fc4..eeb36cbd 100644
--- a/gui/simple-greeter/gdm-greeter-login-window.c
+++ b/gui/simple-greeter/gdm-greeter-login-window.c
@@ -1886,6 +1886,8 @@ load_theme (GdmGreeterLoginWindow *login_window)
box = GTK_WIDGET (gtk_builder_get_object (login_window->priv->builder, "window-frame"));
gtk_container_add (GTK_CONTAINER (login_window), box);
+ gtk_widget_grab_default(GTK_WIDGET (gtk_builder_get_object (login_window->priv->builder,
+ "log-in-button")));
login_window->priv->user_chooser = GTK_WIDGET (gtk_builder_get_object (login_window->priv->builder, "user-chooser"));
diff --git a/gui/simple-greeter/gdm-greeter-login-window.ui b/gui/simple-greeter/gdm-greeter-login-window.ui
index 2ab29cbf..163a8f47 100644
--- a/gui/simple-greeter/gdm-greeter-login-window.ui
+++ b/gui/simple-greeter/gdm-greeter-login-window.ui
@@ -259,7 +259,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
- <property name="has_default">True</property>
+ <property name="has_default">False</property>
<property name="receives_default">False</property>
</object>
<packing>