OSDC Sydney 2008 slides (Going mobile)
Get in touch if there's anything that doesn't make sense!
CmdUtilsCreateCommand
name: 'tabs'
description: 'Count the number of tabs and windows you have open'
icon: 'http://www.spreadfirefox.com/files/spreadfirefox_RCS_favicon.png'
author: name: 'Joshua May'email: 'notjosh@gmail.com'
homepage: 'http://notjosh.com/'
var wm = Componentsclasses'@mozilla.org/appshell/window-mediator;1'getServiceComponentsinterfacesnsIWindowMediator;
var counts = this_countwm;
var messageTemplate = '${tabs} tab${tabPlural} open in ${windows} window${windowPlural}';
displayMessageCmdUtilsrenderTemplatemessageTemplate
'tabs': countstab
'windows': countswindow
'tabPlural': 1 != countstab ? 's' : ''
'windowPlural': 1 != countswindow ? 's' : ''
;
var windowIterator = wmgetEnumerator'navigator:browser';
var window;
var counts =
window: 0
tab: 0
;
while windowIteratorhasMoreElements
window = windowIteratorgetNext;
countswindow++;
countstab += windowdocumentgetElementById'content'mTabslength;
return counts;
;
grINotificationsList not being defined. I dug through a lot of code, and ventured deep into Obj-C land, which was the second time in two days (two different projects), and mighty unfamiliar. Eventually I stumbled on this Mozilla bug to try and find the XPCOM change between 1.8 and 1.9 to patch the extension.FillToolTipInfo method. Hm. At the very least, you can change the (new)BiffNotification_message(s) in messenger.properties.<script src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.2/prototype.js"></script>sfPropelParanoidBehavior with (recent? Since r474 (see http://propel.phpdb.org/trac/changeset/474)) Propel 1.3, you'll notice the selects aren't filtering out the deleted items.plugins/sfPropelParanoidBehavior/config/config.php, change (on line 9) Peer:doSelectRS to read Peer:doSelectStmt. Leave the doSelectRS in the array, that's the callback in the plugin which is fine.
/tmp, you could cache to sf_cache_dir, so that a symfony cc would also clear that cached data. Could be handy, but might not be what you want.app.yml variables. I would, if I were you! It's a pity I'm lazy, really.