[gnome-session/gnome-3-20] gsm-shell: make sure dialog_is_open is set to false when appropriate
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-session/gnome-3-20] gsm-shell: make sure dialog_is_open is set to false when appropriate
- Date: Tue, 15 Mar 2016 19:48:14 +0000 (UTC)
commit dc2bf52142b4d76e5ef3fe0888ea482e3603f855
Author: Ray Strode <rstrode redhat com>
Date: Wed Mar 9 15:14:09 2016 -0500
gsm-shell: make sure dialog_is_open is set to false when appropriate
gnome-session/gsm-shell.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gnome-session/gsm-shell.c b/gnome-session/gsm-shell.c
index ca2e291..04cfa2f 100644
--- a/gnome-session/gsm-shell.c
+++ b/gnome-session/gsm-shell.c
@@ -358,6 +358,8 @@ on_end_session_dialog_dbus_signal (GDBusProxy *proxy,
if (signal_index == -1)
return;
+ shell->priv->dialog_is_open = FALSE;
+
if (shell->priv->update_idle_id != 0) {
g_source_remove (shell->priv->update_idle_id);
shell->priv->update_idle_id = 0;
@@ -495,6 +497,8 @@ gsm_shell_close_end_session_dialog (GsmShell *shell)
if (!shell->priv->end_session_dialog_proxy)
return;
+ shell->priv->dialog_is_open = FALSE;
+
g_dbus_proxy_call (shell->priv->end_session_dialog_proxy,
"Close",
NULL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]