Changeset 219
- Timestamp:
- 05/31/07 22:41:20 (18 months ago)
- Location:
- trunk/twitternotifier
- Files:
-
- 2 modified
-
components/nsTwitterNotifier.js (modified) (4 diffs)
-
content/twitternotifier.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/twitternotifier/components/nsTwitterNotifier.js
r216 r219 267 267 268 268 switch (msg.command) { 269 case "reload":270 this.get("statuses.friends_timeline");271 break;272 273 269 case "init-session": 274 270 if (this.retrievePassword()) { … … 281 277 break; 282 278 283 case "get- last5-messages":284 this.get Last5Messages();279 case "get-messages": 280 this.getMessages(); 285 281 break; 286 282 … … 307 303 } 308 304 305 // Reset last access (for retrieve last 20 messages). 306 this._lastAccess = null; 307 309 308 this.updatePref(); 310 309 this.getFriendsTimeline(); … … 332 331 }, 333 332 334 get Last5Messages: function() {333 getMessages: function() { 335 334 var tmp = this._messages; 336 335 tmp.splice(20); -
trunk/twitternotifier/content/twitternotifier.js
r218 r219 439 439 if (e.button == 0) { 440 440 if (this._util.getPassword()) { 441 this._util.notify("get- last5-messages");441 this._util.notify("get-messages"); 442 442 this.showUnreadCount(); 443 443 }
