2006-06-27 [ticho] 2.3.1cvs24
[claws.git] / src / prefs_common.c
index 4d919f52163fb3f16670252d3e66e0d60896f1c3..a519f0a65c68dffc8534629735d7df76b3d2f5b3 100644 (file)
@@ -111,10 +111,12 @@ static PrefParam param_os_specific[] = {
        /* MIME viewer */
        {"mime_image_viewer", NULL,
         &prefs_common.mime_image_viewer, P_STRING, NULL, NULL, NULL},
+       {"mime_textviewer", NULL,
+        &prefs_common.mime_textviewer,   P_STRING, NULL, NULL, NULL},
        {"mime_audio_player", NULL,
         &prefs_common.mime_audio_player, P_STRING, NULL, NULL, NULL},
        {"mime_open_command", "notepad '%s'",
-        &prefs_common.mime_open_cmd, P_STRING, NULL, NULL, NULL},
+        &prefs_common.mime_open_cmd,     P_STRING, NULL, NULL, NULL},
 
        /* Interface */
        {"pixmap_theme_path", DEFAULT_PIXMAP_THEME, 
@@ -583,11 +585,13 @@ static PrefParam param[] = {
 
        /* MIME viewer */
        {"mime_image_viewer", DEFAULT_IMAGE_VIEWER_CMD,
-        &SPECIFIC_PREFS.mime_image_viewer,     P_STRING, NULL, NULL, NULL},
+        &SPECIFIC_PREFS.mime_image_viewer, P_STRING, NULL, NULL, NULL},
+       {"mime_textviewer",   NULL,
+        &SPECIFIC_PREFS.mime_textviewer,   P_STRING, NULL, NULL, NULL},
        {"mime_audio_player", DEFAULT_AUDIO_PLAYER_CMD,
         &SPECIFIC_PREFS.mime_audio_player, P_STRING, NULL, NULL, NULL},
        {"mime_open_command", "gedit '%s'",
-        &SPECIFIC_PREFS.mime_open_cmd, P_STRING, NULL, NULL, NULL},
+        &SPECIFIC_PREFS.mime_open_cmd,     P_STRING, NULL, NULL, NULL},
 
        /* Interface */
        {"separate_folder", "FALSE", &prefs_common.sep_folder, P_BOOL,