aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-11-03 05:32:32 +0800
committerChristian Persch <chpe@src.gnome.org>2005-11-03 05:32:32 +0800
commitefbfe12a61f3908722e7ec6f8c26afb3c6e1ce5b (patch)
treee09adfe0a7c474c56426aa60ce43e8b201fab285 /data
parent11a032f69278c27d78f2a44471ce2bc273c42de5 (diff)
downloadgsoc2013-epiphany-efbfe12a61f3908722e7ec6f8c26afb3c6e1ce5b.tar.gz
gsoc2013-epiphany-efbfe12a61f3908722e7ec6f8c26afb3c6e1ce5b.tar.zst
gsoc2013-epiphany-efbfe12a61f3908722e7ec6f8c26afb3c6e1ce5b.zip
Simplify context menu code by removing the extra EphyDocument*FramePopup
2005-11-02 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: * src/ephy-window.c: (update_popup_actions_visibility), (show_embed_popup): Simplify context menu code by removing the extra EphyDocument*FramePopup variants, and just setting the OpenFrame action's visibility accordingly; and fix its accelerator. Fixes bug #320520.
Diffstat (limited to 'data')
-rw-r--r--data/ui/epiphany-ui.xml46
1 files changed, 6 insertions, 40 deletions
diff --git a/data/ui/epiphany-ui.xml b/data/ui/epiphany-ui.xml
index 0bf29d3de..60339dfc7 100644
--- a/data/ui/epiphany-ui.xml
+++ b/data/ui/epiphany-ui.xml
@@ -112,12 +112,14 @@
<menuitem name="GoBackDP" action="NavigationBack"/>
<menuitem name="GoForwardDP" action="NavigationForward"/>
<menuitem name="GoReloadDP" action="ViewReload"/>
- <separator name="DPSep1"/>
+ <separator />
<menuitem name="EditCopyDP" action="EditCopy"/>
- <separator name="DPSep2"/>
+ <separator />
<menuitem name="SavePageAsDP" action="FileSaveAs"/>
<menuitem name="BookmarkPageDP" action="ContextBookmarkPage"/>
<separator />
+ <menuitem name="OpenFrameFDP" action="OpenFrame"/>
+ <separator />
<menuitem name="OpenImageDP" action="OpenImage"/>
<menuitem name="SaveImageAsDP" action="SaveImageAs"/>
<menuitem name="SetImageAsBackgroundDP" action="SetImageAsBackground"/>
@@ -134,6 +136,8 @@
<menuitem name="SavePageAsFSDP" action="FileSaveAs"/>
<menuitem name="BookmarkPageFSDP" action="ContextBookmarkPage"/>
<separator />
+ <menuitem name="OpenFrameFSFDP" action="OpenFrame"/>
+ <separator />
<menuitem name="ViewToolbarFSDP" action="ViewToolbar"/>
<separator />
<menuitem name="OpenImageFSDP" action="OpenImage"/>
@@ -142,44 +146,6 @@
<menuitem name="CopyImageLocationFSDP" action="CopyImageLocation"/>
</popup>
-<popup name="EphyFramedDocumentPopup" action="PopupAction">
- <menuitem name="GoBackFDP" action="NavigationBack"/>
- <menuitem name="GoForwardFDP" action="NavigationForward"/>
- <menuitem name="GoReloadFDP" action="ViewReload"/>
- <separator />
- <menuitem name="EditCopyFDP" action="EditCopy"/>
- <separator />
- <menuitem name="SavePageAsFDP" action="FileSaveAs"/>
- <menuitem name="BookmarkPageFDP" action="ContextBookmarkPage"/>
- <separator />
- <menuitem name="OpenFrameFDP" action="OpenFrame"/>
- <separator />
- <menuitem name="OpenImageFDP" action="OpenImage"/>
- <menuitem name="SaveImageAsFDP" action="SaveImageAs"/>
- <menuitem name="SetImageAsBackgroundFDP" action="SetImageAsBackground"/>
- <menuitem name="CopyImageLocationFDP" action="CopyImageLocation"/>
-</popup>
-
-<popup name="EphyFullscreenFramedDocumentPopup" action="PopupAction">
- <menuitem name="GoBackFSFDP" action="NavigationBack"/>
- <menuitem name="GoForwardFSFDP" action="NavigationForward"/>
- <menuitem name="GoReloadFSFDP" action="ViewReload"/>
- <separator />
- <menuitem name="EditCopyFSFDP" action="EditCopy"/>
- <separator />
- <menuitem name="SavePageAsFSFDP" action="FileSaveAs"/>
- <menuitem name="BookmarkPageFSFDP" action="ContextBookmarkPage"/>
- <separator />
- <menuitem name="OpenFrameFSFDP" action="OpenFrame"/>
- <separator />
- <menuitem name="ViewToolbarFSFDP" action="ViewToolbar"/>
- <separator />
- <menuitem name="OpenImageFSFDP" action="OpenImage"/>
- <menuitem name="SaveImageAsFSFDP" action="SaveImageAs"/>
- <menuitem name="SetImageAsBackgroundFSFDP" action="SetImageAsBackground"/>
- <menuitem name="CopyImageLocationFSFDP" action="CopyImageLocation"/>
-</popup>
-
<popup name="EphyLinkPopup" action="PopupAction">
<menuitem name="OpenLinkLP" action="OpenLink"/>
<menuitem name="OpenLinkInNewWindowLP" action="OpenLinkInNewWindow"/>