X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fhildon2%2Fmodest-msg-edit-window.c;h=0950b2fa8534c675386a989e65e341593e9095c3;hb=6c5de1f31c309bc6cec380b393f54d20342b98a4;hp=5ac30d8b240af0e583cf0067c297c1e3d6200a30;hpb=645ae86da233c18cde7691fc0315ec1cf4be467b;p=modest diff --git a/src/hildon2/modest-msg-edit-window.c b/src/hildon2/modest-msg-edit-window.c index 5ac30d8..0950b2f 100644 --- a/src/hildon2/modest-msg-edit-window.c +++ b/src/hildon2/modest-msg-edit-window.c @@ -1485,10 +1485,10 @@ set_msg (ModestMsgEditWindow *self, TnyMsg *msg, gboolean preserve_is_rich) static void color_button_clicked (GtkButton *button) { - static PipCalendarColor color = PipCalendarColorInvalid; + PipCalendarColor color; /* Show ColorPicker dialog */ - color = pip_color_picker_select_color(color, PipColorPickerText); + color = pip_color_picker_select_color(PipCalendarColorInvalid, PipColorPickerText); /* Check if some color is selected rather than dialog is dismissed */ if (color != PipCalendarColorInvalid) {