[gtk+/wip/colorchooser-v2: 58/77] GtkColorChooserWidget: emit notification for ::show-editor



commit 59f8504def3e26469cd71bbc8e708dd562af988b
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]