summaryrefslogtreecommitdiffstats
path: root/browser/base/content/appmenu-viewcache.inc.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'browser/base/content/appmenu-viewcache.inc.xhtml')
-rw-r--r--browser/base/content/appmenu-viewcache.inc.xhtml40
1 files changed, 40 insertions, 0 deletions
diff --git a/browser/base/content/appmenu-viewcache.inc.xhtml b/browser/base/content/appmenu-viewcache.inc.xhtml
index 07b1765f18..04bba182fb 100644
--- a/browser/base/content/appmenu-viewcache.inc.xhtml
+++ b/browser/base/content/appmenu-viewcache.inc.xhtml
@@ -38,6 +38,13 @@
</vbox>
</toolbarbutton>
</toolbaritem>
+ <toolbarbutton id="appMenu-profiles-button"
+ class="subviewbutton subviewbutton-nav"
+ data-l10n-id="appmenuitem-profiles"
+ data-l10n-args='{ "profilename": "" }'
+ closemenu="none"
+ oncommand="gProfiles.updateView(this)"
+ hidden="true"/>
<toolbarseparator id="appMenu-fxa-separator" class="proton-zap"/>
<toolbarbutton id="appMenu-new-tab-button2"
class="subviewbutton"
@@ -212,6 +219,39 @@
oncommand="PlacesCommandHook.showPlacesOrganizer('History'); CustomizableUI.hidePanelForNode(this);"/>
</panelview>
+ <panelview id="PanelUI-profiles" flex="1">
+ <vbox class="panel-subview-body">
+ <vbox id="current-profile">
+ <image id="profile-icon-image"></image>
+ <h2 id="profile-name"></h2>
+ <hbox id="this-profile-buttons">
+ <toolbarbutton id="profiles-edit-this-delete-button"
+ class="subviewbutton toolbarbutton-1"
+ oncommand="switchToTabHavingURI('about:profilemanager', true)"/>
+ <toolbarbutton id="profiles-delete-this-profile-button"
+ class="subviewbutton toolbarbutton-1"
+ oncommand="switchToTabHavingURI('about:profilemanager', true)"/>
+ </hbox>
+ </vbox>
+ <toolbarseparator/>
+ <vbox id="profiles-list"></vbox>
+ <toolbarseparator/>
+ <toolbarbutton id="profiles-close-profile-button"
+ class="subviewbutton"
+ data-l10n-id="appmenu-close-profile"
+ data-l10n-args='{ "profilename": "" }'
+ oncommand=""/>
+ <toolbarbutton id="profiles-create-profile-button"
+ class="subviewbutton"
+ data-l10n-id="appmenu-create-profile"
+ oncommand="switchToTabHavingURI('about:profilemanager', true)"/>
+ <toolbarbutton id="profiles-manage-profiles-button"
+ class="subviewbutton"
+ data-l10n-id="appmenu-manage-profiles"
+ oncommand="switchToTabHavingURI('about:profilemanager', true)"/>
+ </vbox>
+ </panelview>
+
<panelview id="appMenu-library-recentlyClosedTabs"/>
<panelview id="appMenu-library-recentlyClosedWindows"/>