[pan2] sfdsd



commit 6cb991896190d8ab478c4502163d4b074d15e9eb
Author: Heinrich MÃller <henmull src gnome org>
Date:   Sun Jan 8 15:03:28 2012 +0100

    sfdsd

 README         |    3 ++-
 pan/gui/pan.cc |    3 +--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/README b/README
index 00931f4..53a29b0 100644
--- a/README
+++ b/README
@@ -8,7 +8,8 @@ REQUIREMENTS
 
     Pan requires these libraries:
     * GTK+ 2.16.0 or higher (optionally GTK+ 3.0.0 or higher) <http://www.gtk.org/>
-    * GMime 2.5.5 or higher <http://spruce.sourceforge.net/gmime/>
+    * GMime 2.4.0 or higher <http://spruce.sourceforge.net/gmime/>
+      (GMime 2.5.5 or higher for PGP crypto support)
 
     Spellchecking requires the following library:
     * GtkSpell 2.0.7 or higher <http://gtkspell.sourceforge.net>
diff --git a/pan/gui/pan.cc b/pan/gui/pan.cc
index 0f8e30c..c5316c5 100644
--- a/pan/gui/pan.cc
+++ b/pan/gui/pan.cc
@@ -319,12 +319,11 @@ namespace
 
     void notify_of(StatusIcons si, const char* body, const char* summary)
     {
+#ifdef HAVE_LIBNOTIFY
       if (!body || !summary) return;
       if (!prefs.get_flag("use-notify", false)) return;
 
-#ifdef HAVE_LIBNOTIFY
       NotifyNotification *notif(0);
-
       GError* error(0);
 
       notif = notify_notification_new (summary, body, NULL);



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