aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-notebook.c
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <descalante@igalia.com>2010-02-16 14:10:06 +0800
committerDiego Escalante Urrelo <descalante@igalia.com>2010-02-17 02:14:39 +0800
commit4f5d35180aa54b87e4bd9298a6e80eba0967ba59 (patch)
treea01ddda8a11256dc064856b280077ce3a1f30567 /src/ephy-notebook.c
parent0970e4f5a661e2b281431f1f960a508b90e2f61e (diff)
downloadgsoc2013-epiphany-4f5d35180aa54b87e4bd9298a6e80eba0967ba59.tar
gsoc2013-epiphany-4f5d35180aa54b87e4bd9298a6e80eba0967ba59.tar.gz
gsoc2013-epiphany-4f5d35180aa54b87e4bd9298a6e80eba0967ba59.tar.bz2
gsoc2013-epiphany-4f5d35180aa54b87e4bd9298a6e80eba0967ba59.tar.lz
gsoc2013-epiphany-4f5d35180aa54b87e4bd9298a6e80eba0967ba59.tar.xz
gsoc2013-epiphany-4f5d35180aa54b87e4bd9298a6e80eba0967ba59.tar.zst
gsoc2013-epiphany-4f5d35180aa54b87e4bd9298a6e80eba0967ba59.zip
Random formatting fixes
Too wide comments, some indentation.
Diffstat (limited to 'src/ephy-notebook.c')
-rw-r--r--src/ephy-notebook.c9
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);
}