diff --git a/nemo.spec b/nemo.spec index f84df85..129b2d7 100644 --- a/nemo.spec +++ b/nemo.spec @@ -3,7 +3,7 @@ Name: nemo Summary: File manager for Cinnamon Version: 1.8.2 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ and LGPLv2+ Group: User Interface/Desktops URL: https://github.com/linuxmint/nemo @@ -49,6 +49,8 @@ Requires: nemo-extensions%{?_isa} = %{version}-%{release} # https://github.com/linuxmint/nemo/pull/263 Patch0: remove-desktop-background.patch +Patch1: remove_OpenAsRoot.patch + %description Nemo is the file manager and graphical shell for the Cinnamon desktop @@ -89,6 +91,7 @@ Nemo theme fix for Adwaita %prep %setup -q %patch0 -p1 +%patch1 -p1 NOCONFIGURE=1 ./autogen.sh %build @@ -189,6 +192,9 @@ fi %{_datadir}/gir-1.0/*.gir %changelog +* Fri May 24 2013 Leigh Scott - 1.8.2-2 +- Patch to remove open as root + * Mon May 20 2013 Leigh Scott - 1.8.2-1 - Update to version 1.8.2 - Tidy up patches diff --git a/remove-desktop-background.patch b/remove-desktop-background.patch index 0301cc8..6bcaaa1 100644 --- a/remove-desktop-background.patch +++ b/remove-desktop-background.patch @@ -924,7 +924,7 @@ diff --git a/libnemo-private/nemo-global-preferences.h b/libnemo-private/nemo-gl index 2b9c56a..c1ec61a 100644 --- a/libnemo-private/nemo-global-preferences.h +++ b/libnemo-private/nemo-global-preferences.h -@@ -226,7 +226,7 @@ enum +@@ -222,7 +226,7 @@ enum GSettings *nemo_tree_sidebar_preferences; GSettings *nemo_window_state; GSettings *gnome_lockdown_preferences; @@ -937,7 +937,7 @@ diff --git a/src/nemo-places-sidebar.c b/src/nemo-places-sidebar.c index a0bc4d4..ca32193 100644 --- a/src/nemo-places-sidebar.c +++ b/src/nemo-places-sidebar.c -@@ -3825,7 +3825,7 @@ static void expand_or_collapse_category (NemoPlacesSidebar *sidebar, +@@ -3879,7 +3879,7 @@ static void expand_or_collapse_category (NemoPlacesSidebar *sidebar, bookmarks_popup_menu_detach_cb, sidebar); diff --git a/remove_OpenAsRoot.patch b/remove_OpenAsRoot.patch new file mode 100644 index 0000000..553898e --- /dev/null +++ b/remove_OpenAsRoot.patch @@ -0,0 +1,10 @@ +--- a/src/nemo-directory-view-ui.xml ++++ b/src/nemo-directory-view-ui.xml +@@ -186,7 +186,6 @@ + + + +- + + +