Simplify hidden prefs for too many recipients
[claws.git] / src / prefs_common.c
index 7be13c4bae1e95ec8ea28a2513a875cfb4f2040a..da80d2c4274fa360087ba50cd0d770feedc750bb 100644 (file)
@@ -121,6 +121,16 @@ static PrefParam param_os_specific[] = {
        /* Interface */
        {"pixmap_theme_path", DEFAULT_PIXMAP_THEME, 
         &prefs_common.pixmap_theme_path, P_STRING, NULL, NULL, NULL},
+#ifdef HAVE_SVG
+       {"enable_alpha_svg", "TRUE",
+        &prefs_common.enable_alpha_svg, P_BOOL, NULL, NULL, NULL},
+       {"enable_pixmap_scaling", "TRUE",
+        &prefs_common.enable_pixmap_scaling, P_BOOL, NULL, NULL, NULL},
+       {"pixmap_scaling_auto", "TRUE",
+        &prefs_common.pixmap_scaling_auto, P_BOOL, NULL, NULL, NULL},
+       {"pixmap_scaling_ppi", "96",
+        &prefs_common.pixmap_scaling_ppi, P_INT, NULL, NULL, NULL},
+#endif
 
        /* Other */
        {"ext_editor_command", "notepad %s",
@@ -203,9 +213,7 @@ static PrefParam param[] = {
          P_BOOL, NULL, NULL, NULL},
        {"warn_empty_subj", "TRUE", &prefs_common.warn_empty_subj,
         P_BOOL, NULL, NULL, NULL},
-       {"warn_sending_many_recipients", "FALSE", &prefs_common.warn_sending_many_recipients,
-        P_BOOL, NULL, NULL, NULL},
-       {"warn_sending_many_recipients_num", "1", &prefs_common.warn_sending_many_recipients_num, P_INT,
+       {"warn_sending_many_recipients_num", "0", &prefs_common.warn_sending_many_recipients_num, P_INT,
         NULL, NULL, NULL},
        {"hide_timezone", "FALSE", &prefs_common.hide_timezone,
         P_BOOL, NULL, NULL, NULL},
@@ -780,7 +788,7 @@ static PrefParam param[] = {
        /* MIME viewer */
        {"mime_textviewer",   NULL,
         &SPECIFIC_PREFS.mime_textviewer,   P_STRING, NULL, NULL, NULL},
-       {"mime_open_command", "gedit '%s'",
+       {"mime_open_command", "xdg-open '%s'",
         &SPECIFIC_PREFS.mime_open_cmd,     P_STRING, NULL, NULL, NULL},
        {"show_inline_attachments", "TRUE", 
         &prefs_common.show_inline_attachments, P_BOOL, NULL, NULL, NULL},
@@ -838,6 +846,20 @@ static PrefParam param[] = {
        {"pixmap_theme_path", DEFAULT_PIXMAP_THEME, 
         &SPECIFIC_PREFS.pixmap_theme_path, P_STRING,
         NULL, NULL, NULL},
+#ifdef HAVE_SVG
+       {"enable_alpha_svg", "TRUE",
+        &SPECIFIC_PREFS.enable_alpha_svg, P_BOOL,
+        NULL, NULL, NULL},
+       {"enable_pixmap_scaling", "TRUE",
+        &SPECIFIC_PREFS.enable_pixmap_scaling, P_BOOL,
+        NULL, NULL, NULL},
+       {"pixmap_scaling_auto", "TRUE",
+        &SPECIFIC_PREFS.pixmap_scaling_auto, P_BOOL,
+        NULL, NULL, NULL},
+       {"pixmap_scaling_ppi", "96",
+        &SPECIFIC_PREFS.pixmap_scaling_ppi, P_INT,
+        NULL, NULL, NULL},
+#endif
 
        {"ask_mark_all_read", "TRUE", &prefs_common.ask_mark_all_read, P_BOOL,
         NULL, NULL, NULL},