displaying of headers in the mail viewer - customization
[claws.git] / src / prefs_common.c
index 6f2a72b06afcad6725fac020133b1e8e10a56e62..60c738eefe497f3f779c60b2427ee9c4061c666d 100644 (file)
@@ -47,6 +47,7 @@
 #include "gtkutils.h"
 #include "alertpanel.h"
 #include "folder.h"
+#include "prefs_display_headers.h"
 
 PrefsCommon prefs_common;
 
@@ -1285,6 +1286,7 @@ static void prefs_display_create(void)
        GtkWidget *label_datefmt;
        GtkWidget *entry_datefmt;
        GtkWidget *button_dispitem;
+       GtkWidget *button_headers_display;
 
        vbox1 = gtk_vbox_new (FALSE, VSPACING);
        gtk_widget_show (vbox1);
@@ -1369,6 +1371,19 @@ static void prefs_display_create(void)
                            GTK_SIGNAL_FUNC (prefs_summary_display_item_set),
                            NULL);
 
+       hbox1 = gtk_hbox_new (FALSE, 8);
+       gtk_widget_show (hbox1);
+       gtk_box_pack_start (GTK_BOX (vbox2), hbox1, FALSE, TRUE, 0);
+
+       button_headers_display = gtk_button_new_with_label
+               (_(" Set displaying of headers... "));
+       gtk_widget_show (button_headers_display);
+       gtk_box_pack_start (GTK_BOX (hbox1), button_headers_display, FALSE,
+                           TRUE, 0);
+       gtk_signal_connect (GTK_OBJECT (button_headers_display), "clicked",
+                           GTK_SIGNAL_FUNC (prefs_display_headers_open),
+                           NULL);
+
        display.entry_textfont  = entry_textfont;
        display.button_textfont = button_textfont;