summaryrefslogtreecommitdiff
path: root/libmate-desktop
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-07-01 10:06:43 +0200
committerStefano Karapetsas <[email protected]>2014-07-01 10:06:43 +0200
commitff7eccbfd887817c42820baac98d50d3378811d5 (patch)
tree67410a4b89d408518332f82ec7bed45967e41cff /libmate-desktop
parent5ae8eb2a650fd23bb53beadf75f3af4422deae77 (diff)
downloadmate-desktop-ff7eccbfd887817c42820baac98d50d3378811d5.tar.bz2
mate-desktop-ff7eccbfd887817c42820baac98d50d3378811d5.tar.xz
Use palette in MateColorButton
Diffstat (limited to 'libmate-desktop')
-rw-r--r--libmate-desktop/mate-colorbutton.c2
1 files changed, 2 insertions, 0 deletions
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);