[gnome-shell] endSessionDialog: Fix wrong method name s/report_dbus_error/return_dbus_error
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] endSessionDialog: Fix wrong method name s/report_dbus_error/return_dbus_error
- Date: Tue, 28 Feb 2012 23:58:52 +0000 (UTC)
commit 90b08acbf1ddea5d5ae21f29462555d8113b4f74
Author: Rui Matos <tiagomatos gmail com>
Date: Wed Feb 29 00:45:33 2012 +0100
endSessionDialog: Fix wrong method name s/report_dbus_error/return_dbus_error
js/ui/endSessionDialog.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/endSessionDialog.js b/js/ui/endSessionDialog.js
index 2a6e6c8..198d31b 100644
--- a/js/ui/endSessionDialog.js
+++ b/js/ui/endSessionDialog.js
@@ -505,7 +505,7 @@ const EndSessionDialog = new Lang.Class({
this._type = type;
if (!(this._type in DialogContent)) {
- invocation.report_dbus_error('org.gnome.Shell.ModalDialog.TypeError',
+ invocation.return_dbus_error('org.gnome.Shell.ModalDialog.TypeError',
"Unknown dialog type requested");
return;
}
@@ -521,7 +521,7 @@ const EndSessionDialog = new Lang.Class({
this._updateButtons();
if (!this.open(timestamp)) {
- invocation.report_dbus_error('org.gnome.Shell.ModalDialog.GrabError',
+ invocation.return_dbus_error('org.gnome.Shell.ModalDialog.GrabError',
"Cannot grab pointer and keyboard");
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]