[bijiben] ColorButton : fix color dialog initial color
- From: Pierre-Yves Luyten <pyluyten src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bijiben] ColorButton : fix color dialog initial color
- Date: Sun, 2 Dec 2012 02:11:54 +0000 (UTC)
commit 3fc96d0345cbd8e591b24c2353650c18317def73
Author: Pierre-Yves Luyten <py luyten fr>
Date: Sun Dec 2 03:11:36 2012 +0100
ColorButton : fix color dialog initial color
src/bjb-color-button.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/bjb-color-button.c b/src/bjb-color-button.c
index cfce972..7911674 100644
--- a/src/bjb-color-button.c
+++ b/src/bjb-color-button.c
@@ -126,6 +126,7 @@ bjb_color_button_clicked (GtkButton *b)
G_CALLBACK (dialog_destroy), button);
}
+ gtk_color_chooser_get_rgba (GTK_COLOR_CHOOSER (button), &priv->rgba);
gtk_color_chooser_set_rgba (GTK_COLOR_CHOOSER (button->priv->dialog),
&button->priv->rgba);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]