This repository has been archived by the owner on Mar 11, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* extension.js: strip Shell sms widget, cleanup and reorder some funcs * lib.js: remove old log function * sms.js: minor changes here and there
- Loading branch information
1 parent
3487600
commit f537aa8
Showing
3 changed files
with
22 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -145,7 +145,7 @@ const AboutDialog = new Lang.Class({ | |
website: Me.metadata.url, | ||
//website_label: Me.metadata.name + _(" Website"), | ||
|
||
authors: [ "Andy Holmes <[email protected]>" ], | ||
authors: [ "Andy Holmes <[email protected]>" ], // TODO | ||
//artists: Me.metadata.artists, | ||
translator_credits: _("translator-credits"), | ||
copyright: "Copyright 2017 Andy Holmes", // TODO | ||
|
@@ -712,26 +712,12 @@ function initTranslations() { | |
* - log | ||
* - debug | ||
* - assert | ||
* | ||
*/ | ||
|
||
/** | ||
* Prints a message to the log, prepended with the UUID of the extension | ||
* @param {String} msg - the message | ||
*/ | ||
|
||
// FIXME: "[@UUID@]: , @LOG_MESSAGE@" | ||
//log = (function (stockLog, msg) { | ||
// stockLog("[" + Me.metadata.uuid + "]: " + msg); | ||
//})(log); | ||
//(function () { | ||
// var old = log; | ||
// log = function () { | ||
// Array.prototype.unshift.call(arguments, "[" + Me.metadata.uuid + "]: "); | ||
// old.apply(this, arguments) | ||
// } | ||
//})(); | ||
|
||
function log(msg) { | ||
global.log("[" + Me.metadata.uuid + "]: " + msg); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters