16:48:49 How can SM tell me how many tabs I have open? 17:32:34 a-865: is that all? 17:34:12 a-865: if i were to take a stab at it? maybe gBrowser.tabContainer.childNodes.length 17:34:28 but that might not match seamonkey 17:34:54 frg_Away: any thoughts? 17:35:26 but that will be per-window 17:35:32 not all tabs across all windows 17:35:47 for that u'd likely have to query and hunt down specific docshells or some shit 17:35:51 good luck with that 17:36:11 or be lazy and just query each window for all the tabs and add em up 17:37:07 taskbar in windows shows all open tabs count but also includes separate other windows in the count like download manager. 17:37:17 should be the same for linux. 17:37:55 simplest solution I think is get all navigator windows and for each get all the tabs and add em up and return value 17:38:51 I don't think linux has a taskbar provider 17:38:54 does it? 17:39:12 of course it hardly matters doing it using taskbar components would be silly 17:39:28 when windows are enumerated internally 17:39:32 and have types 17:41:03 nsIWindowWatcher.getWindowEnumerator() 17:41:37 https://udn.realityripple.com/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIWindowWatcher 17:49:58 so i think you do the stuff to get the nsIDOMWindow objects find the ones you want get into its dom document and get into that to get to gBrowser and get its tab count 19:13:14 CoordinatorTobin: I don't use more than one browser window per sesson, but I do run browser + IRC or browser + email 19:14:38 two different profiles, two different virtual desktop contexts 19:25:22 yeah i dunno then 19:28:38 a-865: maybe more detail in exactly whatcha wanna do would be helpful 19:40:16 It's inane finding tabs via that creepy crawly scroller that resets backwards whenever browser is reopened. Tabs list needs a normal scrollbar when there is a high number of tabs. The number of open tabs is too large to discover. 19:43:56 count doesn't need it's own UI. It could be a line item in about:support. 20:19:24 a-865: do you mean the tab-bar needs a scrollbar or that "creepy crawly scroller"? Because last I've checked, firefox has a scrollbar for the "creepy crawly scroller". So it might just need a backport if that's not too complex. 20:23:26 what is a creepy crawly scroller lol 20:37:52 I _suppose_ a-865 means that drop-down menu where you can go through all open tabs.