[gtk+/wip/colorchooser-v2: 58/84] GtkColorChooserWidget: emit notification for ::show-editor
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/colorchooser-v2: 58/84] GtkColorChooserWidget: emit notification for ::show-editor
- Date: Tue, 14 Feb 2012 19:09:42 +0000 (UTC)
commit 0a07bc4520390adcd19402c5ce560f8db96ae617
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Feb 8 21:54:31 2012 -0500
GtkColorChooserWidget: emit notification for ::show-editor
gtk/gtkcolorchooserwidget.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcolorchooserwidget.c b/gtk/gtkcolorchooserwidget.c
index dc48c18..7ca4f9f 100644
--- a/gtk/gtkcolorchooserwidget.c
+++ b/gtk/gtkcolorchooserwidget.c
@@ -133,6 +133,7 @@ swatch_customize (GtkColorSwatch *swatch,
gtk_widget_hide (cc->priv->palette);
gtk_widget_show (cc->priv->editor);
+ g_object_notify (cc, "show-editor");
}
static void
@@ -163,6 +164,7 @@ button_activate (GtkColorSwatch *swatch,
gtk_widget_hide (cc->priv->palette);
gtk_widget_show (cc->priv->editor);
+ g_object_notify (cc, "show-editor");
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]