Bug 675690 - Full Screen menuitem should be disabled when no windows are open. r=Mnyromyr.
authorstefanh@inbox.com
Sat, 06 Aug 2011 00:54:04 +0200
changeset 8245 5f9ac7a79f696d4677c3670c1ebac59476b8d589
parent 8244 8951a95a0755f98f3501e6d0016be20bd58d723b
child 8246 eb1f0b511bda81a631d4472ffbb60fee80c26bc1
push id6340
push userstefanh@inbox.com
push dateFri, 05 Aug 2011 22:59:32 +0000
treeherdercomm-central@fe906413af26 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMnyromyr
bugs675690
Bug 675690 - Full Screen menuitem should be disabled when no windows are open. r=Mnyromyr.
suite/browser/navigator.js
--- a/suite/browser/navigator.js
+++ b/suite/browser/navigator.js
@@ -1940,17 +1940,17 @@ function hiddenWindowStartup()
                        'Browser:Print', 'canGoBack', 'canGoForward',
                        'Browser:AddBookmark', 'Browser:AddBookmarkAs',
                        'cmd_undo', 'cmd_redo', 'cmd_cut', 'cmd_copy',
                        'cmd_paste', 'cmd_delete', 'cmd_selectAll',
                        'cmd_findTypeText', 'cmd_findTypeLinks', 'Browser:Find',
                        'Browser:FindAgain', 'Browser:FindPrev', 'menu_Toolbars',
                        'menuitem_reload', 'menu_UseStyleSheet', 'charsetMenu',
                        'View:PageSource', 'View:PageInfo', 'menu_translate',
-                       'cookie_deny', 'cookie_default',
+                       'cookie_deny', 'cookie_default', 'View:FullScreen',
                        'cookie_session', 'cookie_allow', 'image_deny',
                        'image_default', 'image_allow', 'AllowPopups',
                        'menu_zoom', 'cmd_minimizeWindow', 'cmd_zoomWindow'];
   var broadcaster;
 
   for (var id in disabledItems) {
     broadcaster = document.getElementById(disabledItems[id]);
     if (broadcaster)