summaryrefslogtreecommitdiff
path: root/src/nautilus-notebook.c
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2018-02-13 12:53:24 +0100
committerCarlos Soriano <csoriano1618@gmail.com>2018-02-13 19:59:14 +0000
commitad95c95be3940da15a0da50bd241da0920a8c6dc (patch)
tree59cca26c8be0d8e2d3bc83647a0000de7996a7b0 /src/nautilus-notebook.c
parentb6ebffd567d870f57db8266d01e25642c4c2862f (diff)
downloadnautilus-ad95c95be3940da15a0da50bd241da0920a8c6dc.tar.gz
general: Use constants for button events
Diffstat (limited to 'src/nautilus-notebook.c')
-rw-r--r--src/nautilus-notebook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-notebook.c b/src/nautilus-notebook.c
index 4c97f280a..66e7504da 100644
--- a/src/nautilus-notebook.c
+++ b/src/nautilus-notebook.c
@@ -146,7 +146,7 @@ button_press_cb (NautilusNotebook *notebook,
tab_clicked = find_tab_num_at_pos (notebook, event->x_root, event->y_root);
if (event->type == GDK_BUTTON_PRESS &&
- event->button == 3 &&
+ event->button == GDK_BUTTON_SECONDARY &&
(event->state & gtk_accelerator_get_default_mod_mask ()) == 0)
{
if (tab_clicked == -1)