From 31bcde943a732176bc38eb7834d813b111d2ac22 Mon Sep 17 00:00:00 2001 From: leigh123linux Date: Sep 25 2012 20:22:27 +0000 Subject: remove "open as root" option - fix "open terminal" option --- diff --git a/nemo.spec b/nemo.spec index 96bb469..5e24c63 100644 --- a/nemo.spec +++ b/nemo.spec @@ -15,7 +15,7 @@ Name: nemo Summary: File manager for Cinnamon Version: 1.0.1 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ and LGPLv2+ Group: User Interface/Desktops # To generate source @@ -55,7 +55,8 @@ Requires: nemo-extensions%{?_isa} = %{version}-%{release} Patch0: rtl-fix.patch - +Patch1: open_as_root.patch +Patch2: open_terminal.patch %description @@ -90,6 +91,8 @@ for developing nemo extensions. %patch0 -p1 -b .rtl-fix +%patch1 -p1 +%patch2 -p1 %build @@ -184,6 +187,10 @@ fi %doc %{_datadir}/gtk-doc/html/libnemo-extension/* %changelog +* Tue Sep 25 2012 Leigh Scott - 1.0.1-4 +- remove "open as root" option +- fix "open terminal" option + * Tue Sep 25 2012 Leigh Scott - 1.0.1-3 - validate desktop file diff --git a/open_as_root.patch b/open_as_root.patch new file mode 100644 index 0000000..ca0a8a5 --- /dev/null +++ b/open_as_root.patch @@ -0,0 +1,10 @@ +--- a/src/nemo-directory-view-ui.xml ++++ b/src/nemo-directory-view-ui.xml +@@ -178,7 +178,6 @@ + + + +- + + + diff --git a/open_terminal.patch b/open_terminal.patch new file mode 100644 index 0000000..0d1a492 --- /dev/null +++ b/open_terminal.patch @@ -0,0 +1,11 @@ +--- a/src/nemo-view.c ++++ b/src/nemo-view.c +@@ -6071,7 +6071,7 @@ static void + open_in_terminal (gchar *location) + { + gchar *argv[2]; +- argv[0] = "x-terminal-emulator"; ++ argv[0] = "gnome-terminal"; + argv[1] = NULL; + g_spawn_async(location, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL); + }