diff options
author | Carlos Soriano <csoriano@gnome.org> | 2018-02-13 12:53:24 +0100 |
---|---|---|
committer | Carlos Soriano <csoriano1618@gmail.com> | 2018-02-13 19:59:14 +0000 |
commit | ad95c95be3940da15a0da50bd241da0920a8c6dc (patch) | |
tree | 59cca26c8be0d8e2d3bc83647a0000de7996a7b0 /src/nautilus-notebook.c | |
parent | b6ebffd567d870f57db8266d01e25642c4c2862f (diff) | |
download | nautilus-ad95c95be3940da15a0da50bd241da0920a8c6dc.tar.gz |
general: Use constants for button events
Diffstat (limited to 'src/nautilus-notebook.c')
-rw-r--r-- | src/nautilus-notebook.c | 2 |
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) |