diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/ephy-window.c | 6 |
2 files changed, 12 insertions, 0 deletions
@@ -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); |