[gparted] Rename NO_DOC to HAVE_DISABLE_DOC for consistency sake
- From: Curtis Gedak <gedakc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gparted] Rename NO_DOC to HAVE_DISABLE_DOC for consistency sake
- Date: Tue, 3 Nov 2009 17:57:44 +0000 (UTC)
commit e2ef2ca6717790d114a85ef7c3e4742ce0726e20
Author: Curtis Gedak <gedakc gmail com>
Date: Tue Nov 3 10:57:15 2009 -0700
Rename NO_DOC to HAVE_DISABLE_DOC for consistency sake
configure.in | 4 ++--
src/Win_GParted.cc | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.in b/configure.in
index b18feca..0b15ff2 100644
--- a/configure.in
+++ b/configure.in
@@ -117,8 +117,8 @@ if test ${enable_doc} = yes; then
else
dnl Do not care if GDU is not found
GNOME_DOC_INIT(,,[:])
- dnl Set #define NO_DOC 1 to indicate documentation not wanted
- AC_DEFINE([NO_DOC], [1], [Define to 1 if --disable-doc specified])
+ dnl Set #define HAVE_DISABLE_DOC 1 to indicate documentation not wanted
+ AC_DEFINE([HAVE_DISABLE_DOC], [1], [Define to 1 if --disable-doc specified])
fi
AM_CONDITIONAL(DISABLE_DOC, test ${enable_doc} = no)
diff --git a/src/Win_GParted.cc b/src/Win_GParted.cc
index 3733e10..908f44b 100644
--- a/src/Win_GParted.cc
+++ b/src/Win_GParted.cc
@@ -1239,7 +1239,7 @@ void Win_GParted::show_help_dialog( const Glib::ustring & filename /* E.g., gpar
void Win_GParted::menu_help_contents()
{
-#ifdef NO_DOC
+#ifdef HAVE_DISABLE_DOC
//GParted was configured with --disable-doc
Gtk::MessageDialog dialog( *this,
_( "Documentation is not available." ),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]