[gdm/multi-stack: 34/35] hide task actions more aggressively
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/multi-stack: 34/35] hide task actions more aggressively
- Date: Fri, 4 Feb 2011 20:14:55 +0000 (UTC)
commit 6ca468c1f146b079a834d4dcf1b4047e078a1f37
Author: Ray Strode <rstrode redhat com>
Date: Mon Aug 9 18:09:19 2010 -0400
hide task actions more aggressively
This fixes "dual login buttons" after the user hits cancel.
gui/simple-greeter/gdm-greeter-login-window.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gui/simple-greeter/gdm-greeter-login-window.c b/gui/simple-greeter/gdm-greeter-login-window.c
index 9219202..0aa392d 100644
--- a/gui/simple-greeter/gdm-greeter-login-window.c
+++ b/gui/simple-greeter/gdm-greeter-login-window.c
@@ -492,6 +492,8 @@ set_log_in_button_mode (GdmGreeterLoginWindow *login_window,
login_window->priv->current_button = button;
+ g_list_foreach (login_window->priv->tasks, (GFunc) hide_task_actions, NULL);
+
switch (mode) {
case LOGIN_BUTTON_HIDDEN:
if (login_window->priv->active_task != NULL) {
@@ -696,6 +698,7 @@ reset_task (GdmTask *task,
login_window->priv->tasks_to_enable = g_list_remove (login_window->priv->tasks_to_enable, task);
gdm_task_list_remove_task (GDM_TASK_LIST (login_window->priv->conversation_list), task);
+ hide_task_actions (task);
gdm_conversation_reset (GDM_CONVERSATION (task));
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]