Hello community, here is the log from the commit of package nautilus for openSUSE:Factory checked in at 2016-07-27 16:06:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nautilus (Old) and /work/SRC/openSUSE:Factory/.nautilus.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nautilus" Changes: -------- --- /work/SRC/openSUSE:Factory/nautilus/nautilus.changes 2016-06-29 15:03:39.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.nautilus.new/nautilus.changes 2016-07-27 16:06:11.000000000 +0200 @@ -1,0 +2,6 @@ +Fri Jul 15 09:05:18 UTC 2016 - ty...@suse.com + +- Add nautilus-enable-eject-option-on-selection-menu.patch + Enable eject option on selection menu (bsc#981950, bgo#768355). + +------------------------------------------------------------------- New: ---- nautilus-enable-eject-option-on-selection-menu.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nautilus.spec ++++++ --- /var/tmp/diff_new_pack.4OlM30/_old 2016-07-27 16:06:12.000000000 +0200 +++ /var/tmp/diff_new_pack.4OlM30/_new 2016-07-27 16:06:12.000000000 +0200 @@ -30,6 +30,8 @@ Patch0: nautilus-adjust-style-priority.patch # PATCH-FIX-UPSTREAM nautilus-bsc979947.patch bsc#979947 bgo#767878 mgo...@suse.com -- only write zoom level to user configuration if the user has adjusted it. Patch1: nautilus-bsc979947.patch +# PATCH-FIX-UPSTREAM nautilus-enable-eject-option-on-selection-menu.patch bsc#981950 bgo#768355 ty...@suse.com -- Enable eject option on selection menu +Patch2: nautilus-enable-eject-option-on-selection-menu.patch Url: http://www.gnome.org BuildRoot: %{_tmppath}/%{name}-%{version}-build # needed for directory ownership @@ -114,6 +116,7 @@ %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 translation-update-upstream %build ++++++ nautilus-enable-eject-option-on-selection-menu.patch ++++++ 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