[balsa/gtk3] Compile without gpgme.



commit 2b4c59b600930827313a59267d95e893e5480c85
Author: Pawel Salek <pawsa0 gmail com>
Date:   Tue Aug 13 23:21:50 2013 +0200

    Compile without gpgme.

 ChangeLog            |    4 ++++
 src/sendmsg-window.c |    4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 41ab16f..a3c402b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-08-13  Pawel Salek
+
+       * src/sendmsg-window.c: compile without gpgme.
+
 2013-08-10  Peter Bloomfield
 
        * src/main-window.c (bw_action_set_boolean): use
diff --git a/src/sendmsg-window.c b/src/sendmsg-window.c
index 326aa4c..80bc1f4 100644
--- a/src/sendmsg-window.c
+++ b/src/sendmsg-window.c
@@ -4175,8 +4175,10 @@ static const BalsaToolbarEntry compose_toolbar[] = {
 static const BalsaToolbarEntry compose_toolbar_extras[] = {
     { "postpone",    BALSA_PIXMAP_POSTPONE    },
     { "request-mdn", BALSA_PIXMAP_REQUEST_MDN },
+#ifdef HAVE_GPGME
     { "sign",        BALSA_PIXMAP_GPG_SIGN    },
     { "encrypt",     BALSA_PIXMAP_GPG_ENCRYPT },
+#endif /* HAVE_GPGME */
     { "edit",       "gtk-edit"                }
 };
 
@@ -6625,6 +6627,7 @@ static GActionEntry win_entries[] = {
                          sw_flowed_change_state         },
     {"send-html",        libbalsa_toggle_activated, NULL, "false",
                          sw_send_html_change_state      },
+#ifdef HAVE_GPGME
     {"sign",             libbalsa_toggle_activated, NULL, "false",
                          sw_sign_change_state           },
     {"encrypt",          libbalsa_toggle_activated, NULL, "false",
@@ -6635,6 +6638,7 @@ static GActionEntry win_entries[] = {
                          sw_gpg_mode_change_state       },
     {"gpg-mode",         libbalsa_radio_activated, "s", "'smime'",
                          sw_gpg_mode_change_state       },
+#endif /* HAVE_GPGME */
     /* Only a toolbar button: */
     {"toolbar-send",     sw_toolbar_send_activated      }
 };


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]