diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/caja-places-sidebar.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/caja-places-sidebar.c b/src/caja-places-sidebar.c index 24ab023e..ce7bccdf 100644 --- a/src/caja-places-sidebar.c +++ b/src/caja-places-sidebar.c @@ -1021,6 +1021,11 @@ over_eject_button (CajaPlacesSidebar *sidebar, eject_button_size = caja_get_icon_size_for_stock_size (GTK_ICON_SIZE_MENU); if (x - total_width >= 0 && +#if GTK_CHECK_VERSION (3, 0, 0) + /* fix unwanted unmount requests if clicking on the label */ + x >= total_width - eject_button_size && + x >= 80 && +#endif x - total_width <= eject_button_size) { return TRUE; } |