projects
/
geeqie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use explicit names for mouse buttons instead of numbers.
[geeqie.git]
/
src
/
view_dir_list.c
diff --git
a/src/view_dir_list.c
b/src/view_dir_list.c
index
592369a
..
9c85d0e
100644
(file)
--- a/
src/view_dir_list.c
+++ b/
src/view_dir_list.c
@@
-337,7
+337,7
@@
gint vdlist_press_cb(GtkWidget *widget, GdkEventButton *bevent, gpointer data)
vd->click_fd = fd;
vd_color_set(vd, vd->click_fd, TRUE);
- if (bevent->button ==
3
)
+ if (bevent->button ==
MOUSE_BUTTON_RIGHT
)
{
vd->popup = vd_pop_menu(vd, vd->click_fd);
gtk_menu_popup(GTK_MENU(vd->popup), NULL, NULL, NULL, NULL,