make blue the default new mail colour
authorPaul Mangan <paul@claws-mail.org>
Tue, 18 Feb 2003 05:55:38 +0000 (05:55 +0000)
committerPaul Mangan <paul@claws-mail.org>
Tue, 18 Feb 2003 05:55:38 +0000 (05:55 +0000)
ChangeLog.claws
configure.ac
src/mainwindow.c
src/prefs_common.c
src/prefs_common.h

index 950975c..98ae257 100644 (file)
@@ -1,3 +1,9 @@
+2003-02-18 [paul]      0.8.10claws20
+
+       * src/mainwindow.c
+         src/prefs_common.[ch]
+               make blue the default new mail colour
+
 2003-02-18 [paul]      0.8.10claws19
 
        * sync with 0.8.10cvs14
index ecdeca1..8c9b1f9 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=10
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws19
+EXTRA_VERSION=claws20
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index af1f2bf..16742dd 100644 (file)
@@ -883,8 +883,8 @@ MainWindow *main_window_create(SeparateType type)
        summaryview->color_dim.red = summaryview->color_dim.green =
                summaryview->color_dim.blue = COLOR_DIM;
 
-       folderview->color_new.red = (guint16)55000;
-       folderview->color_new.green = folderview->color_new.blue = 15000;
+       gtkut_convert_int_to_gdk_color(prefs_common.color_new,
+                                      &folderview->color_new);
 
        gtkut_convert_int_to_gdk_color(prefs_common.tgt_folder_col,
                                       &folderview->color_op);
index 33701f1..6b64913 100644 (file)
@@ -836,6 +836,9 @@ static PrefParam param[] = {
        {"cache_min_keep_time", "15", &prefs_common.cache_min_keep_time, P_INT,
         NULL, NULL, NULL},
 
+       {"color_new", "179", &prefs_common.color_new, P_INT,
+        NULL, NULL, NULL},
+
        {NULL, NULL, NULL, P_OTHER, NULL, NULL, NULL}
 };
 
index a2a2c85..cec5d29 100644 (file)
@@ -270,6 +270,7 @@ struct _PrefsCommon
        gboolean ssl_ask_unknown_valid;
 #endif
 #endif
+
        /* Memory cache*/
        gint cache_max_mem_usage;
        gint cache_min_keep_time;
@@ -279,7 +280,7 @@ struct _PrefsCommon
        gboolean work_offline;
        
        gint summary_quicksearch_type;
-
+       gint color_new;
 };
 
 extern PrefsCommon prefs_common;