/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail team
+ * Copyright (C) 1999-2013 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
#ifdef HAVE_CONFIG_H
# include "config.h"
+#include "claws-features.h"
#endif
#include "defs.h"
*/
static PrefParam param[] = {
-#ifdef MAEMO
- {"data_root", "", &prefs_common.data_root, P_STRING,
- NULL, NULL, NULL},
-#endif
/* Receive */
{"use_ext_inc", "FALSE", &prefs_common.use_extinc, P_BOOL,
NULL, NULL, NULL},
P_BOOL, NULL, NULL, NULL},
{"newmail_notify_cmd", "", &SPECIFIC_PREFS.newmail_notify_cmd, P_STRING,
NULL, NULL, NULL},
-#ifdef MAEMO
- {"maemo_show_led", "TRUE", &prefs_common.maemo_show_led, P_BOOL,
- NULL, NULL, NULL},
- {"maemo_play_sound", "FALSE", &prefs_common.maemo_play_sound, P_BOOL,
- NULL, NULL, NULL},
- {"maemo_show_banner", "FALSE", &prefs_common.maemo_show_banner, P_BOOL,
- NULL, NULL, NULL},
-#endif
{"receive_dialog_mode", "2", &prefs_common.recv_dialog_mode, P_ENUM,
NULL, NULL, NULL},
{"receivewin_width", "460", &prefs_common.receivewin_width, P_INT,
NULL, NULL, NULL},
{"outgoing_fallback_to_ascii", "TRUE", &prefs_common.outgoing_fallback_to_ascii, P_BOOL,
NULL, NULL, NULL},
+ {"warn_empty_subj", "TRUE", &prefs_common.warn_empty_subj,
+ P_BOOL, NULL, NULL, NULL},
{"allow_jisx0201_kana", "FALSE", &prefs_common.allow_jisx0201_kana,
P_BOOL, NULL, NULL, NULL},
#ifndef G_OS_WIN32
{"uri_open_command", DEFAULT_BROWSER_CMD,
&SPECIFIC_PREFS.uri_cmd, P_STRING, NULL, NULL, NULL},
+#else
+ {"gtk_theme", DEFAULT_W32_GTK_THEME,
+ &SPECIFIC_PREFS.gtk_theme, P_STRING, NULL, NULL, NULL},
#endif
{"ext_editor_command", DEFAULT_EDITOR_CMD,
&SPECIFIC_PREFS.ext_editor_cmd, P_STRING, NULL, NULL, NULL},
return prefs_common.enable_log_status;
}
-#ifdef MAEMO
-const gchar *prefs_common_get_data_root(void)
-{
- if (prefs_common.data_root && *prefs_common.data_root)
- return prefs_common.data_root;
- else
- return NULL;
-}
-#endif
/**
return the translated name of a header, if the translate_header option is
set, otherwise return the untranslated header name (header_name itself).