Added check for gksu for gparted menu invocation
svn path=/trunk/; revision=870
This commit is contained in:
parent
8c3362ab72
commit
946810f9ca
|
@ -1,5 +1,13 @@
|
||||||
2008-07-23 Curtis Gedak <gedakc@gmail.com>
|
2008-07-23 Curtis Gedak <gedakc@gmail.com>
|
||||||
|
|
||||||
|
* gparted.desktop.in.in,
|
||||||
|
Makefile.am,
|
||||||
|
configure.in: Added check for gksu for gparted menu invocation.
|
||||||
|
- Permits GNU/Linux distributions with gksu to prompt for root
|
||||||
|
password when invoked from the menu, while not hampering
|
||||||
|
distributions without gksu.
|
||||||
|
- Partially addresses bug 318557 for some GNU/Linux distributions
|
||||||
|
|
||||||
* configure.in: Append -svn to version for continuing development
|
* configure.in: Append -svn to version for continuing development
|
||||||
|
|
||||||
2008-07-10 Curtis Gedak <gedakc@gmail.com>
|
2008-07-10 Curtis Gedak <gedakc@gmail.com>
|
||||||
|
|
|
@ -12,7 +12,8 @@ desktop_DATA = $(DESKTOP_FILES)
|
||||||
sbin_SCRIPTS = gparted
|
sbin_SCRIPTS = gparted
|
||||||
CLEANFILES = $(sbin_SCRIPTS) $(DESKTOP_IN_FILES)
|
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
|
gparted.desktop.in: gparted.desktop.in.in Makefile
|
||||||
$(do_subst) < $(srcdir)/gparted.desktop.in.in > gparted.desktop.in
|
$(do_subst) < $(srcdir)/gparted.desktop.in.in > gparted.desktop.in
|
||||||
|
|
|
@ -14,6 +14,10 @@ AC_PROG_CC
|
||||||
AC_PROG_CXX
|
AC_PROG_CXX
|
||||||
AM_PROG_LIBTOOL
|
AM_PROG_LIBTOOL
|
||||||
|
|
||||||
|
dnl======================
|
||||||
|
dnl checks for other programs
|
||||||
|
dnl======================
|
||||||
|
AC_PATH_PROG(GKSUPROG, gksu)
|
||||||
|
|
||||||
dnl======================
|
dnl======================
|
||||||
dnl i18n stuff
|
dnl i18n stuff
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
_Name=GParted Partition Editor
|
_Name=GParted Partition Editor
|
||||||
_Comment=Create, reorganize, and delete partitions
|
_Comment=Create, reorganize, and delete partitions
|
||||||
Exec=@installdir@/gparted
|
Exec=@gksuprog@ @installdir@/gparted
|
||||||
Icon=gparted
|
Icon=gparted
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
|
|
Loading…
Reference in New Issue