From 212f3caa18c1b25c9824d638f11dbaf0edc12a7e Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Wed, 18 Mar 2009 21:23:42 +0000 Subject: [PATCH] - emit "user-selected" signal for non-user items in the list as well. --- gdm-2.25.2-multistack-but-boring.patch | 18 ++++++++++++++++-- gdm.spec | 6 +++++- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/gdm-2.25.2-multistack-but-boring.patch b/gdm-2.25.2-multistack-but-boring.patch index 948a7d9..1f36583 100644 --- a/gdm-2.25.2-multistack-but-boring.patch +++ b/gdm-2.25.2-multistack-but-boring.patch @@ -6407,8 +6407,8 @@ diff -up gdm-2.25.2/gui/simple-greeter/gdm-greeter-login-window.c.multistack-but +static void +begin_auto_login (GdmGreeterLoginWindow *login_window) +{ -+ g_signal_emit (G_OBJECT (login_window), signals[USER_SELECTED], -+ 0, GDM_USER_CHOOSER_USER_AUTO); ++// g_signal_emit (G_OBJECT (login_window), signals[USER_SELECTED], ++// 0, GDM_USER_CHOOSER_USER_AUTO); + + g_signal_emit (login_window, signals[BEGIN_AUTO_LOGIN], 0, + login_window->priv->timed_login_username); @@ -14299,3 +14299,17 @@ index 1924185..d6b9724 100644 "info", G_CALLBACK (on_session_info), slave); +diff --git a/gui/simple-greeter/gdm-greeter-login-window.c b/gui/simple-greeter/gdm-greeter-login-window.c +index 9797e67..3ac506c 100644 +--- a/gui/simple-greeter/gdm-greeter-login-window.c ++++ b/gui/simple-greeter/gdm-greeter-login-window.c +@@ -1738,6 +1738,9 @@ on_user_chooser_activated (GdmUserChooserWidget *user_chooser, + item_id = gdm_chooser_widget_get_active_item (GDM_CHOOSER_WIDGET (user_chooser)); + g_debug ("GdmGreeterLoginWindow: item chosen '%s'", item_id); + ++ g_signal_emit (G_OBJECT (login_window), signals[USER_SELECTED], ++ 0, item_id); ++ + if (strcmp (item_id, GDM_USER_CHOOSER_USER_OTHER) == 0) { + g_debug ("GdmGreeterLoginWindow: Starting all auth conversations"); + g_free (item_id); diff --git a/gdm.spec b/gdm.spec index eb80404..8db8209 100644 --- a/gdm.spec +++ b/gdm.spec @@ -15,7 +15,7 @@ Summary: The GNOME Display Manager Name: gdm Version: 2.26.0 -Release: 2%{?dist} +Release: 3%{?dist} Epoch: 1 License: GPLv2+ Group: User Interface/X @@ -350,6 +350,10 @@ fi %{_datadir}/gnome-2.0/ui/GNOME_FastUserSwitchApplet.xml %changelog +* Wed Mar 18 2009 Ray Strode - 1:2.26.0-3 +- emit "user-selected" signal for non-user items in the list + as well. + * Mon Mar 16 2009 Ray Strode - 1:2.26.0-2 - Clean up empty auth dirs so they don't hang around forever (bug 485974)