From f9b22af2fe0a0abdbc59a4c35c021d1ab027e11f Mon Sep 17 00:00:00 2001 From: dg1727 Date: Sun, 19 Feb 2017 22:15:49 -0500 Subject: [PATCH] Updated pkexec support --- makepot | 1 + polkit.its | 7 +++++++ polkit.loc | 6 ++++++ src/org.nemo.root.policy.in | 10 +++++----- 4 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 polkit.its create mode 100644 polkit.loc diff --git a/makepot b/makepot index 02fca0c52..a0c883f26 100755 --- a/makepot +++ b/makepot @@ -2,3 +2,4 @@ data/extract_action_strings data xgettext --from-code=UTF-8 --keyword=_ --keyword=N_ --output=nemo.pot src/*.c libnemo-extension/*.c libnemo-private/*.c eel/*.c data/action_i18n_strings.py xgettext --join-existing -L Glade src/*.glade --output=nemo.pot +xgettext --join-existing --its=polkit.its -L PolkitPolicy share/polkit/*.policy.in --output=nemo.pot diff --git a/polkit.its b/polkit.its new file mode 100644 index 000000000..1312ecbee --- /dev/null +++ b/polkit.its @@ -0,0 +1,7 @@ + + + + diff --git a/polkit.loc b/polkit.loc new file mode 100644 index 000000000..94ffc7031 --- /dev/null +++ b/polkit.loc @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/org.nemo.root.policy.in b/src/org.nemo.root.policy.in index d173a33ec..382020687 100644 --- a/src/org.nemo.root.policy.in +++ b/src/org.nemo.root.policy.in @@ -5,16 +5,16 @@ - Linux Mint - http://linuxmint.com/ + Nemo Project + https://github.com/linuxmint/nemo Run Nemo with elevated privileges - Authentication is required to run Nemo as root + Please enter your password to run Nemo as root gksu-root-terminal - auth_admin_keep - auth_admin_keep + no + no auth_admin_keep /usr/bin/nemo