gparted/gparted-0.29.0-desktop-use_gparted_pkexec.patch

25 lines
1.0 KiB
Diff
Raw Normal View History

diff -ru gparted-0.29.0.orig/gparted.desktop gparted-0.29.0/gparted.desktop
--- gparted-0.29.0.orig/gparted.desktop 2017-08-07 17:57:19.000000000 +0200
+++ gparted-0.29.0/gparted.desktop 2017-10-05 16:32:34.572568167 +0200
@@ -229,7 +229,7 @@
Comment[zh_CN]=创建、重新组织或删除分区
Comment[zh_HK]=建立、編輯或刪除分割區
Comment[zh_TW]=建立、編輯或刪除分割區
-Exec=gksudo /usr/local/sbin/gparted %f
+Exec=/usr/bin/gparted-pkexec %f
Icon=gparted
Terminal=false
Type=Application
diff -ru gparted-0.29.0.orig/gparted.desktop.in.in gparted-0.29.0/gparted.desktop.in.in
--- gparted-0.29.0.orig/gparted.desktop.in.in 2015-10-14 19:42:48.000000000 +0200
+++ gparted-0.29.0/gparted.desktop.in.in 2017-10-05 16:31:44.879380000 +0200
@@ -3,7 +3,7 @@
_GenericName=Partition Editor
_X-GNOME-FullName=GParted Partition Editor
_Comment=Create, reorganize, and delete partitions
-Exec=@gksuprog@ @installdir@/gparted %f
+Exec=/usr/bin/gparted-pkexec %f
Icon=gparted
Terminal=false
Type=Application