summaryrefslogtreecommitdiffstats
path: root/Smoke/gtk_colormap.c
diff options
context:
space:
mode:
Diffstat (limited to 'Smoke/gtk_colormap.c')
-rw-r--r--Smoke/gtk_colormap.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/Smoke/gtk_colormap.c b/Smoke/gtk_colormap.c
index 878d81f..657c586 100644
--- a/Smoke/gtk_colormap.c
+++ b/Smoke/gtk_colormap.c
@@ -112,11 +112,15 @@ GtkWidget *create_colormap_page(void)
combo = gtk_combo_box_new_text();
- gtk_combo_box_append_text(GTK_COMBO_BOX(combo), "Black & White");
- gtk_combo_box_append_text(GTK_COMBO_BOX(combo), "Rainbow");
- gtk_combo_box_append_text(GTK_COMBO_BOX(combo), "Bands");
- gtk_combo_box_append_text(GTK_COMBO_BOX(combo), "Wilrik");
- gtk_combo_box_append_text(GTK_COMBO_BOX(combo), "Oliver");
+ gtk_combo_box_append_text(GTK_COMBO_BOX(combo), PALETTE_NAME_BLACKWHITE);
+ gtk_combo_box_append_text(GTK_COMBO_BOX(combo), PALETTE_NAME_RAINBOW);
+ gtk_combo_box_append_text(GTK_COMBO_BOX(combo), PALETTE_NAME_BANDS);
+ gtk_combo_box_append_text(GTK_COMBO_BOX(combo), PALETTE_NAME_BLUE_GREEN_RED);
+ gtk_combo_box_append_text(GTK_COMBO_BOX(combo), PALETTE_NAME_WILRIK);
+ gtk_combo_box_append_text(GTK_COMBO_BOX(combo), PALETTE_NAME_OLIVER);
+ gtk_combo_box_append_text(GTK_COMBO_BOX(combo), PALETTE_NAME_RED);
+ gtk_combo_box_append_text(GTK_COMBO_BOX(combo), PALETTE_NAME_GREEN);
+ gtk_combo_box_append_text(GTK_COMBO_BOX(combo), PALETTE_NAME_BLUE);
gtk_combo_box_set_active(GTK_COMBO_BOX(combo), colormap_get_colormap());
g_signal_connect(combo, "changed", G_CALLBACK(select_colormap), (gpointer)NULL);