Hi all, I want to show different colors in the progressbar at different levels (6 diff colors for 6 levels in my case). The code snippet given below works just fine without any theme. But as I apply the clearlooks-quicksilver theme, the colors do not change and the default blue diagonally-striped color is only visible in the progressbar. The code snippet is :: /* From Here */ char password_str[260]; int final_status; char status_str[6][20]={"Very Weak","Weak","Better","Medium","Strong","Strongest"}; char color_str[6][20]={"red","pink","orange","yellow","light green","green"}; strcpy (password_str,gtk_editable_get_chars (GTK_EDITABLE(lookup_widget (GTK_WIDGET (editable), "entry18")), 0, -1)); final_status=check_password_strength(password_str); GdkColor color; gdk_color_parse(color_str[final_status], &color); gtk_widget_modify_bg((GtkProgressBar *)lookup_widget (GTK_WIDGET (editable), "progressbar2"), GTK_STATE_PRELIGHT, &color); if(final_status!=0) gtk_progress_bar_set_fraction ((GtkProgressBar *)lookup_widget (GTK_WIDGET (editable), "progressbar2"), ((gdouble)final_status/5)); else gtk_progress_bar_set_fraction ((GtkProgressBar *)lookup_widget (GTK_WIDGET (editable), "progressbar2"), ((gdouble)(0.05))); gtk_progress_bar_set_text ( (GtkProgressBar *)lookup_widget (GTK_WIDGET (editable), "progressbar2"), (const gchar *) status_str[final_status]); /* Till Here */ Can anyone tell me why is the clearlooks theme overriding my gtk code..?? Thanks in advance, Siddharth Kapoor _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list