gparted r870 - trunk
- From: gedakc svn gnome org
- To: svn-commits-list gnome org
- Subject: gparted r870 - trunk
- Date: Wed, 23 Jul 2008 17:56:58 +0000 (UTC)
Author: gedakc
Date: Wed Jul 23 17:56:57 2008
New Revision: 870
URL: http://svn.gnome.org/viewvc/gparted?rev=870&view=rev
Log:
Added check for gksu for gparted menu invocation
Modified:
trunk/ChangeLog
trunk/Makefile.am
trunk/configure.in
trunk/gparted.desktop.in.in
Modified: trunk/Makefile.am
==============================================================================
--- trunk/Makefile.am (original)
+++ trunk/Makefile.am Wed Jul 23 17:56:57 2008
@@ -12,7 +12,8 @@
sbin_SCRIPTS = gparted
CLEANFILES = $(sbin_SCRIPTS) $(DESKTOP_IN_FILES)
-do_subst = sed -e 's,[ ]installdir[@],$(sbindir),g'
+do_subst = sed -e 's,[ ]installdir[@],$(sbindir),g' \
+ -e 's,[ ]gksuprog[@],$(GKSUPROG),g'
gparted.desktop.in: gparted.desktop.in.in Makefile
$(do_subst) < $(srcdir)/gparted.desktop.in.in > gparted.desktop.in
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Wed Jul 23 17:56:57 2008
@@ -14,6 +14,10 @@
AC_PROG_CXX
AM_PROG_LIBTOOL
+dnl======================
+dnl checks for other programs
+dnl======================
+AC_PATH_PROG(GKSUPROG, gksu)
dnl======================
dnl i18n stuff
Modified: trunk/gparted.desktop.in.in
==============================================================================
--- trunk/gparted.desktop.in.in (original)
+++ trunk/gparted.desktop.in.in Wed Jul 23 17:56:57 2008
@@ -1,7 +1,7 @@
[Desktop Entry]
_Name=GParted Partition Editor
_Comment=Create, reorganize, and delete partitions
-Exec= installdir@/gparted
+Exec= gksuprog@ @installdir@/gparted
Icon=gparted
Terminal=false
Type=Application
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]