2013-01-21 [paul] 3.9.0cvs56
[claws.git] / src / common / defs.h
index f025035b9eec61b333a4799c657abbb0b32d2c1f..dfbf8e2380830d395b90452bc1ebbfac0774d9d1 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2009 Hiroyuki Yamamoto and the Claws Mail team
+ * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail team
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
 #define __DEFS_H__
 
 #ifdef HAVE_CONFIG_H
-#  include "config.h"
+#include "claws-features.h"
 #endif
 
-#include <glibconfig.h>
-
-#ifdef G_OS_WIN32
-#  include <glib/gwin32.h>
-#endif
+#include <glib.h>
 
 #if HAVE_PATHS_H
 #  include <paths.h>
@@ -90,7 +86,8 @@
 #define THEMES_URI             "http://www.claws-mail.org/themes.php"
 #define TOOLS_URI              "http://www.claws-mail.org/tools.php"
 #define MAILING_LIST_URI       "http://www.claws-mail.org/MLs.php"
-#define USERS_ML_ADDR          "claws-mail-users@dotsrc.org"
+#define USERS_ML_ADDR          "users@lists.claws-mail.org"
+#define USERS_ML_URI           "http://lists.claws-mail.org/cgi-bin/mailman/listinfo/users"
 #define GPL_URI                        "http://www.gnu.org/licenses/gpl.html"
 #define DONATE_URI             "http://www.claws-mail.org/sponsors.php"
 #define RELEASE_NOTES_FILE     "RELEASE_NOTES"
 #define PROGRESS_UPDATE_INTERVAL       200     /* msec */
 #define SESSION_TIMEOUT_INTERVAL       60      /* sec */
 #define MAX_HISTORY_SIZE               32
+#define HSPACING_NARROW                        4
+#define VSPACING                       10
+#define VSPACING_NARROW                        4
+#define VSPACING_NARROW_2              2
+#define VBOX_BORDER                    8
+#define DEFAULT_ENTRY_WIDTH            80
+/* labels bigger than this causes crash with the X Window System error:
+   'BadAlloc (insufficient resources for operation)' */
+#define MAX_MENU_LABEL_LENGTH          5453
 
 #define BOLD_FONT prefs_common.boldfont
 #define NORMAL_FONT prefs_common.normalfont