diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-10-06 02:06:47 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-10-06 02:06:47 +0800 |
commit | 95156e10ff8f5e1ed863735a5d4842dc02f0deb3 (patch) | |
tree | a105e9f0da5a79fc9854eac1df3e1716a3002aa4 /src/ephy-window.c | |
parent | c227777cd867186d690539d4efd8f8b3809c6fa5 (diff) | |
download | gsoc2013-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.
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r-- | src/ephy-window.c | 6 |
1 files changed, 6 insertions, 0 deletions
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); |