From ff7eccbfd887817c42820baac98d50d3378811d5 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Tue, 1 Jul 2014 10:06:43 +0200 Subject: Use palette in MateColorButton --- libmate-desktop/mate-colorbutton.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libmate-desktop/mate-colorbutton.c') diff --git a/libmate-desktop/mate-colorbutton.c b/libmate-desktop/mate-colorbutton.c index a2987b7..ff62e16 100644 --- a/libmate-desktop/mate-colorbutton.c +++ b/libmate-desktop/mate-colorbutton.c @@ -630,6 +630,8 @@ mate_color_button_clicked (GtkButton *button) mate_color_selection_set_has_opacity_control (MATE_COLOR_SELECTION (color_dialog->colorsel), color_button->priv->use_alpha); + + mate_color_selection_set_has_palette (MATE_COLOR_SELECTION (color_dialog->colorsel), TRUE); mate_color_selection_set_previous_color (MATE_COLOR_SELECTION (color_dialog->colorsel), &color_button->priv->color); -- cgit v1.2.1