aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-10-06 02:06:47 +0800
committerChristian Persch <chpe@src.gnome.org>2004-10-06 02:06:47 +0800
commit95156e10ff8f5e1ed863735a5d4842dc02f0deb3 (patch)
treea105e9f0da5a79fc9854eac1df3e1716a3002aa4
parentc227777cd867186d690539d4efd8f8b3809c6fa5 (diff)
downloadgsoc2013-epiphany-95156e10ff8f5e1ed863735a5d4842dc02f0deb3.tar
gsoc2013-epiphany-95156e10ff8f5e1ed863735a5d4842dc02f0deb3.tar.gz
gsoc2013-epiphany-95156e10ff8f5e1ed863735a5d4842dc02f0deb3.tar.bz2
gsoc2013-epiphany-95156e10ff8f5e1ed863735a5d4842dc02f0deb3.tar.lz
gsoc2013-epiphany-95156e10ff8f5e1ed863735a5d4842dc02f0deb3.tar.xz
gsoc2013-epiphany-95156e10ff8f5e1ed863735a5d4842dc02f0deb3.tar.zst
gsoc2013-epiphany-95156e10ff8f5e1ed863735a5d4842dc02f0deb3.zip
Don't allow activation of the hidden menubar in ppv mode.
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.
-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);