gparted/gparted-0.27.0-desktop-use_gparted_pkexec.patch

24 lines
955 B
Diff
Raw Normal View History

diff -Nru gparted-0.13.0.orig/gparted.desktop.in.in gparted-0.13.0/gparted.desktop.in.in
--- gparted-0.13.0.orig/gparted.desktop.in.in 2012-08-05 21:11:24.467479696 +0200
+++ gparted-0.13.0/gparted.desktop.in.in 2012-08-05 21:11:59.976122931 +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
--- gparted-0.27.0/gparted.desktop.orig 2016-10-23 20:53:20.917595259 +0200
+++ gparted-0.27.0/gparted.desktop 2016-10-23 23:46:51.413938365 +0200
@@ -226,7 +226,7 @@
Comment[zh_CN]=创建、重新组织或删除分区
Comment[zh_HK]=建立、編輯或刪除分割區
Comment[zh_TW]=建立、編輯或刪除分割區
-Exec=kdesudo /usr/local/sbin/gparted %f
+Exec=/usr/bin/gparted-pkexec %f
Icon=gparted
Terminal=false
Type=Application