aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--src/ephy-window.c6
2 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d55a89bd8..c82b28f67 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2004-10-05 Christian Persch <chpe@cvs.gnome.org>
+ * src/ephy-window.c: (ephy_window_key_press_event):
+
+ Don't allow activation of the hidden menubar in ppv mode.
+
+2004-10-05 Christian Persch <chpe@cvs.gnome.org>
+
* src/ephy-window.c: (get_chromes_visibility),
(ephy_window_fullscreen), (ephy_window_unfullscreen),
(ephy_window_delete_event_cb), (show_embed_popup),
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 83d283f42..319bfc98b 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -738,6 +738,12 @@ ephy_window_key_press_event (GtkWidget *widget,
guint mask = gtk_accelerator_get_default_mod_mask ();
char *accel = NULL;
+ /* Don't activate menubar in ppv mode */
+ if (window->priv->ppv_mode)
+ {
+ return FALSE;
+ }
+
g_object_get (gtk_widget_get_settings (widget),
"gtk-menu-bar-accel", &accel,
NULL);