Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
nautilus.7336
nautilus-enable-eject-option-on-selection-menu....
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nautilus-enable-eject-option-on-selection-menu.patch of Package nautilus.7336
diff --git a/src/nautilus-files-view.c b/src/nautilus-files-view.c index fd4f2f5..a4e62d6 100644 --- a/src/nautilus-files-view.c +++ b/src/nautilus-files-view.c @@ -6474,7 +6474,12 @@ real_update_actions_state (NautilusFilesView *view) can_move_files && !selection_contains_recent); /* Drive menu */ - show_mount = show_unmount = show_eject = show_start = show_stop = show_detect_media = FALSE; + show_mount = (selection != NULL); + show_unmount = (selection != NULL); + show_eject = (selection != NULL); + show_start = (selection != NULL && selection_count == 1); + show_stop = (selection != NULL && selection_count == 1); + show_detect_media = (selection != NULL && selection_count == 1); for (l = selection; l != NULL && (show_mount || show_unmount || show_eject || show_start || show_stop
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor