gparted/gparted-0.25.0-desktop-use_gparted_pkexec.patch

24 lines
948 B
Diff

--- gparted-0.25.0/gparted.desktop.orig 2016-01-21 13:08:01.480079241 +0100
+++ gparted-0.25.0/gparted.desktop 2016-01-21 13:08:50.677653858 +0100
@@ -219,7 +219,7 @@
Comment[zh_CN]=创建、重新组织或删除分区
Comment[zh_HK]=建立、編輯或刪除分割區
Comment[zh_TW]=建立、編輯或刪除分割區
-Exec= /usr/local/sbin/gparted %f
+Exec=/usr/bin/gparted-pkexec %f
Icon=gparted
Terminal=false
Type=Application
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