[gnome-documents] documents: Warn that DocCommon implementations must override canTrash
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] documents: Warn that DocCommon implementations must override canTrash
- Date: Wed, 26 Feb 2014 08:32:45 +0000 (UTC)
commit 6ad46e55572b28da3a4e27ce21bfccb2a7e5310d
Author: Debarshi Ray <debarshir gnome org>
Date: Tue Feb 25 12:33:27 2014 +0100
documents: Warn that DocCommon implementations must override canTrash
https://bugzilla.gnome.org/show_bug.cgi?id=725128
src/documents.js | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/documents.js b/src/documents.js
index e535c60..0c46dbb 100644
--- a/src/documents.js
+++ b/src/documents.js
@@ -358,6 +358,10 @@ const DocCommon = new Lang.Class({
log('Error: DocCommon implementations must override canShare');
},
+ canTrash: function(callback) {
+ log('Error: DocCommon implementations must override canTrash');
+ },
+
createThumbnail: function(callback) {
log('Error: DocCommon implementations must override createThumbnail');
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]