[gdm/multi-stack: 34/34] hide task actions more aggressively
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/multi-stack: 34/34] hide task actions more aggressively
- Date: Wed, 29 Sep 2010 23:35:26 +0000 (UTC)
commit 80cdd8a3dad6ae36ee257d453879922a9f409ca0
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 204f37d..8b3cace 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]