diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2008-05-05 15:21:26 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2008-05-05 15:21:26 +0000 |
commit | 500d2c5f233e126f666de934900b25dfd690764d (patch) | |
tree | d606a000905301d68c866cde7143664998e49963 /daemon/gdm-factory-slave.c | |
parent | 4404c50fc8e954c36044be49449d9881ea829fa3 (diff) | |
download | gdm-500d2c5f233e126f666de934900b25dfd690764d.tar.gz |
Add a keyboard chooser
svn path=/trunk/; revision=6212
Diffstat (limited to 'daemon/gdm-factory-slave.c')
-rw-r--r-- | daemon/gdm-factory-slave.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/daemon/gdm-factory-slave.c b/daemon/gdm-factory-slave.c index 95ed5bdf..799d5013 100644 --- a/daemon/gdm-factory-slave.c +++ b/daemon/gdm-factory-slave.c @@ -416,6 +416,14 @@ on_greeter_language_selected (GdmGreeterServer *greeter_server, } static void +on_greeter_layout_selected (GdmGreeterServer *greeter_server, + const char *text, + GdmFactorySlave *slave) +{ + gdm_session_select_layout (GDM_SESSION (slave->priv->session), text); +} + +static void on_greeter_user_selected (GdmGreeterServer *greeter_server, const char *text, GdmFactorySlave *slave) @@ -505,6 +513,10 @@ run_greeter (GdmFactorySlave *slave) G_CALLBACK (on_greeter_language_selected), slave); g_signal_connect (slave->priv->greeter_server, + "layout-selected", + G_CALLBACK (on_greeter_layout_selected), + slave); + g_signal_connect (slave->priv->greeter_server, "user-selected", G_CALLBACK (on_greeter_user_selected), slave); |