diff options
Diffstat (limited to 'src/ephy-notebook.c')
-rw-r--r-- | src/ephy-notebook.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c index 401f15609..ee481fa4a 100644 --- a/src/ephy-notebook.c +++ b/src/ephy-notebook.c @@ -309,17 +309,18 @@ button_press_cb (EphyNotebook *notebook, if (event->type == GDK_BUTTON_PRESS && event->button == 3 && - (event->state & gtk_accelerator_get_default_mod_mask ()) == 0) + (event->state & gtk_accelerator_get_default_mod_mask ()) == 0) { if (tab_clicked == -1) { - /* consume event, so that we don't pop up the context menu when - * the mouse if not over a tab label + /* Consume event so that we don't pop up the context + * menu when the mouse is not over a tab label. */ return TRUE; } - /* switch to the page the mouse is over, but don't consume the event */ + /* Switch to the page where the mouse is over, but don't consume the + * event. */ gtk_notebook_set_current_page (GTK_NOTEBOOK (notebook), tab_clicked); } |