Commit 1c21124d authored by Ray Strode's avatar Ray Strode

gsm-shell: make sure dialog_is_open is set to false when appropriate

parent bd7592df
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment