[gtk+] GtkColorChooserWidget: emit notification for ::show-editor



commit 05e2124f240968597c75b1bb4ff33a7a2c7c1f4a
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]