aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 41944f37b..59ff4e30e 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -1064,6 +1064,12 @@ show_embed_popup (EphyWindow *window, EphyTab *tab, EphyEmbedEvent *event)
GtkWidget *widget;
EphyEmbedEventType type;
+ /* Do not show the menu in print preview mode */
+ if (window->priv->chrome_mask & EMBED_CHROME_PPVIEWTOOLBARON)
+ {
+ return;
+ }
+
ephy_embed_event_get_property (event, "framed_page", &value);
framed = g_value_get_int (value);