Commit 577746e1 authored by Vincent Untz's avatar Vincent Untz Committed by Vincent Untz

fix debug string add debug string (gsm_manager_shutdown): fix debug string

2009-03-24  Vincent Untz  <vuntz@gnome.org>

	* gnome-session/gsm-inhibit-dialog.c: (update_dialog_text): fix debug
	string
	* gnome-session/gsm-manager.c: (cancel_end_session): add debug string
	(gsm_manager_shutdown): fix debug string

svn path=/trunk/; revision=5350
parent 34592e9f
2009-03-24 Vincent Untz <vuntz@gnome.org>
* gnome-session/gsm-inhibit-dialog.c: (update_dialog_text): fix debug
string
* gnome-session/gsm-manager.c: (cancel_end_session): add debug string
(gsm_manager_shutdown): fix debug string
2009-03-24 Vincent Untz <vuntz@gnome.org>
* gnome-session/gsm-inhibit-dialog.c: (add_inhibitor): use
......
......@@ -667,7 +667,7 @@ update_dialog_text (GsmInhibitDialog *dialog)
header_text = _("A program is still running:");
description_text = _("Waiting for program to finish. Interrupting program may cause you to lose work.");
} else {
g_debug ("Found multiple entries in model");
g_debug ("Found multiple entries (or none) in model");
header_text = _("Some programs are still running:");
description_text = _("Waiting for programs to finish. Interrupting these programs may cause you to lose work.");
}
......
......@@ -728,6 +728,7 @@ static void
cancel_end_session (GsmManager *manager)
{
/* switch back to running phase */
g_debug ("GsmManager: Cancelling the end of session");
/* clear all JIT inhibitors */
gsm_store_foreach_remove (manager->priv->inhibitors,
......@@ -2617,7 +2618,7 @@ gsm_manager_shutdown (GsmManager *manager,
g_set_error (error,
GSM_MANAGER_ERROR,
GSM_MANAGER_ERROR_NOT_IN_RUNNING,
"Logout interface is only available during the Running phase");
"Shutdown interface is only available during the Running phase");
return FALSE;
}
......
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