Repository navigation
Commit dbddddb
committed
nemo-places-sidebar.c: Don't use gtk_get_current_event() for eject
The button-release handler was calling clicked_eject_button(), but
didn't actually pass the event. Instead it fetched the current
event from Gtk.
For touch events, Gtk emits a synthesized button-press but pushes
the real touch event to the event queue, which is what the
gtk_get_current_event() ended up getting.
The original button-release event is what should be used here, so
pass that to over_eject_button() directly.1 parent ed0bb24 commit dbddddb
1 file changed
Lines changed: 2 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1430 | 1430 | | |
1431 | 1431 | | |
1432 | 1432 | | |
1433 | | - | |
1434 | | - | |
1435 | | - | |
1436 | | - | |
1437 | | - | |
1438 | | - | |
1439 | | - | |
1440 | | - | |
1441 | | - | |
1442 | | - | |
1443 | | - | |
1444 | | - | |
1445 | | - | |
1446 | | - | |
1447 | | - | |
1448 | | - | |
1449 | | - | |
1450 | | - | |
1451 | | - | |
1452 | 1433 | | |
1453 | 1434 | | |
1454 | 1435 | | |
| |||
3598 | 3579 | | |
3599 | 3580 | | |
3600 | 3581 | | |
3601 | | - | |
| 3582 | + | |
| 3583 | + | |
3602 | 3584 | | |
3603 | 3585 | | |
3604 | 3586 | | |
| |||
0 commit comments