aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-01-12 02:21:23 +0800
committerXan Lopez <xan@igalia.com>2012-01-14 04:21:46 +0800
commit042f09bcf84db2ade9aa18f881ac5064aacbf116 (patch)
tree00a2a71a94d286561b5773387e1a7a5afc79a4b6 /data
parentade53ab2fdcec609ca42b1277be1f8889bafbaa7 (diff)
downloadgsoc2013-epiphany-042f09bcf84db2ade9aa18f881ac5064aacbf116.tar.gz
gsoc2013-epiphany-042f09bcf84db2ade9aa18f881ac5064aacbf116.tar.zst
gsoc2013-epiphany-042f09bcf84db2ade9aa18f881ac5064aacbf116.zip
Drop menubar and create an actions menu button in the toolbar
Similar to Chrome's wrench menu, but used only (in the future) for page-related actions. For now we have mechanically moved most stuff there, now we need to start removing them one by one when appropriate.
Diffstat (limited to 'data')
-rw-r--r--data/ui/epiphany-ui.xml94
1 files changed, 34 insertions, 60 deletions
diff --git a/data/ui/epiphany-ui.xml b/data/ui/epiphany-ui.xml
index 30ea17671..69d8536ce 100644
--- a/data/ui/epiphany-ui.xml
+++ b/data/ui/epiphany-ui.xml
@@ -1,64 +1,4 @@
<ui>
- <menubar>
- <menu name="FileMenu" action="File">
- <menuitem name="FileNewTabMenu" action="FileNewTab"/>
- <menuitem name="FileOpenMenu" action="FileOpen"/>
- <separator name="FileSep1"/>
- <menuitem name="FileSaveAsMenu" action="FileSaveAs"/>
- <menuitem name="FileSaveAsApplicationMenu" action="FileSaveAsApplication"/>
- <separator name="FileSep2"/>
- <menuitem name="FilePrintSetupMenu" action="FilePrintSetup"/>
- <menuitem name="FilePrintPreviewMenu" action="FilePrintPreview"/>
- <menuitem name="FilePrintMenu" action="FilePrint"/>
- <menuitem name="FileSendToMenu" action="FileSendTo"/>
- <separator name="FileSep3"/>
- <menuitem name="FileWorkOfflineItem" action="FileWorkOffline"/>
- <menuitem name="FileCloseWindowMenu" action="FileCloseTab"/>
- </menu>
-
- <menu name="EditMenu" action="Edit">
- <menuitem name="EditUndoMenu" action="EditUndo"/>
- <menuitem name="EditRedoMenu" action="EditRedo"/>
- <separator name="EditSep0"/>
- <menuitem name="EditCutMenu" action="EditCut"/>
- <menuitem name="EditCopyMenu" action="EditCopy"/>
- <menuitem name="EditPasteMenu" action="EditPaste"/>
- <separator name="EditSep1"/>
- <menuitem name="EditSelectAllMenu" action="EditSelectAll"/>
- <separator name="EditSep2"/>
- <menuitem name="EditFindMenu" action="EditFind"/>
- <menuitem name="EditFindNextMenu" action="EditFindNext"/>
- <menuitem name="EditFindPrevMenu" action="EditFindPrev"/>
- </menu>
-
- <menu name="ViewMenu" action="View">
- <menuitem name="ViewDownloadsBar" action="ViewDownloadsBar"/>
- <separator name="ViewSep1"/>
- <menuitem name="ViewPopupsMenu" action="ViewPopupWindows"/>
- <menuitem name="ViewFullscreenMenu" action="ViewFullscreen"/>
- <separator name="ViewSep2"/>
- <menuitem name="ViewZoomInMenu" action="ViewZoomIn"/>
- <menuitem name="ViewZoomOutMenu" action="ViewZoomOut"/>
- <menuitem name="ViewZoomNormalMenu" action="ViewZoomNormal"/>
- <separator name="ViewSep3"/>
- <menu name="ViewEncodingMenu" action="ViewEncoding">
- <placeholder name="ViewEncodingPlaceholder"/>
- </menu>
- <menuitem name="ViewPageSourceMenu" action="ViewPageSource"/>
- <menuitem action="ViewPageSecurityInfo"/>
- <separator name="ViewSep4"/>
- <menuitem name="ViewStopMenu" action="ViewStop"/>
- <menuitem name="ViewReloadMenu" action="ViewReload"/>
- </menu>
-
- <menu name="BookmarksMenu" action="Bookmarks">
- <menuitem name="BookmarksAddBookmarkMenu" action="FileBookmarkPage"/>
- <separator name="BookmarksSep1"/>
- </menu>
-
- <menu name="ToolsMenu" action="Tools"/>
- </menubar>
-
<popup name="EphyInputPopup" action="PopupAction">
<menuitem name="SpellingSuggestion0" action="ReplaceWithSpellingSuggestion0"/>
<menuitem name="SpellingSuggestion1" action="ReplaceWithSpellingSuggestion1"/>
@@ -146,8 +86,42 @@
<toolitem action="NavigationForward"/>
<toolitem action="ViewCombinedStopReload"/>
<toolitem action="Location"/>
+ <toolitem action="PageMenu"/>
</toolbar>
+ <popup name="PagePopup" action="PagePopupAction">
+ <menuitem name="FileNewTabMenu" action="FileNewTab"/>
+ <menuitem name="FileOpenMenu" action="FileOpen"/>
+ <separator name="FileSep1"/>
+ <menuitem name="FileSaveAsMenu" action="FileSaveAs"/>
+ <menuitem name="FileSaveAsApplicationMenu" action="FileSaveAsApplication"/>
+ <separator name="FileSep2"/>
+ <menuitem name="EditCutMenu" action="EditCut"/>
+ <menuitem name="EditCopyMenu" action="EditCopy"/>
+ <menuitem name="EditPasteMenu" action="EditPaste"/>
+ <separator name="EditSep3"/>
+ <menuitem name="FilePrintSetupMenu" action="FilePrintSetup"/>
+ <menuitem name="FilePrintPreviewMenu" action="FilePrintPreview"/>
+ <menuitem name="FilePrintMenu" action="FilePrint"/>
+ <menuitem name="FileSendToMenu" action="FileSendTo"/>
+ <separator name="FileSep4"/>
+ <menuitem name="EditFindMenu" action="EditFind"/>
+ <menuitem name="EditFindNextMenu" action="EditFindNext"/>
+ <menuitem name="EditFindPrevMenu" action="EditFindPrev"/>
+ <separator name="FileSep5"/>
+ <menu name="BookmarksMenu" action="Bookmarks">
+ <menuitem name="BookmarksAddBookmarkMenu" action="FileBookmarkPage"/>
+ <separator name="BookmarksSep1"/>
+ </menu>
+ <separator name="FileSep6"/>
+ <menu name="ViewEncodingMenu" action="ViewEncoding">
+ <placeholder name="ViewEncodingPlaceholder"/>
+ </menu>
+ <menuitem name="ViewPageSourceMenu" action="ViewPageSource"/>
+ <separator name="FileSep7"/>
+ <menuitem name="FileCloseWindowMenu" action="FileCloseTab"/>
+ </popup>
+
<accelerator name="AlwaysStopAccel" action="ViewAlwaysStop"/>
<accelerator name="BrowseWithCaretAccel" action="BrowseWithCaret"/>