Refresh target foldor colour when changed in preferences.

This commit is contained in:
Darko Koruga 2001-09-14 07:34:03 +00:00
parent 28b049672b
commit be61363c21
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2001-09-14 [darko]
* src/folderview.c
refresh target folder style after colour is changed
2001-09-13 [paul]
* configure.in

View file

@ -2208,11 +2208,17 @@ static void folderview_property_cb(FolderView *folderview, guint action, GtkWidg
}
void folderview_set_target_folder_color(gint color_op) {
gint firstone = 1;
GList *list;
FolderView *folderview;
for (list = folderview_list; list != NULL; list = list->next) {
folderview = (FolderView *)list->data;
gtkut_convert_int_to_gdk_color(color_op, &folderview->color_op);
if (firstone) {
bold_tgtfold_style->fg[GTK_STATE_NORMAL] =
folderview->color_op;
firstone = 0;
}
}
}