+ astextviewer_label = gtk_label_new(_("Command for 'Display as text'"));
+ gtk_widget_show(astextviewer_label);
+
+ gtk_table_attach(GTK_TABLE (table2), astextviewer_label, 0, 1, 3, 4,
+ (GtkAttachOptions) (GTK_FILL),
+ (GtkAttachOptions) (0), 0, 2);
+ gtk_label_set_justify(GTK_LABEL (astextviewer_label), GTK_JUSTIFY_RIGHT);
+ gtk_misc_set_alignment(GTK_MISC (astextviewer_label), 1, 0.5);
+
+ astextviewer_entry = gtk_entry_new ();
+ gtk_widget_show(astextviewer_entry);
+ gtk_tooltips_set_tip(GTK_TOOLTIPS(tooltip), astextviewer_entry,
+ _("This option enables MIME parts to be displayed in the "
+ "message view via a script when using the 'Display as text' "
+ "contextual menu item"),
+ NULL);
+
+ gtk_table_attach(GTK_TABLE (table2), astextviewer_entry, 1, 2, 3, 4,
+ (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
+ (GtkAttachOptions) (0), 0, 0);
+ gtk_entry_set_text(GTK_ENTRY(astextviewer_entry),
+ prefs_common.mime_textviewer ? prefs_common.mime_textviewer : "");
+