Merge remote-tracking branch 'jubalh/jub'

This commit is contained in:
James Booth
2015-10-24 21:42:04 +01:00
18 changed files with 183 additions and 191 deletions

View File

@@ -40,6 +40,7 @@
#endif
#include "profanity.h"
#include "common.h"
#include "command/command.h"
static gboolean version = FALSE;
@@ -103,18 +104,7 @@ main(int argc, char **argv)
g_print("XMPP library: libstrophe\n");
#endif
gboolean notify_enabled = FALSE;
#ifdef HAVE_OSXNOTIFY
notify_enabled = TRUE;
#endif
#ifdef HAVE_LIBNOTIFY
notify_enabled = TRUE;
#endif
#ifdef PLATFORM_CYGWIN
notify_enabled = TRUE;
#endif
if (notify_enabled) {
if (is_notify_enabled()) {
g_print("Desktop notification support: Enabled\n");
} else {
g_print("Desktop notification support: Disabled\n");