mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-18 16:10:08 +00:00
GtkColorChooserWidget: emit notification for ::show-editor
This commit is contained in:
parent
1fd311803a
commit
05e2124f24
@ -133,6 +133,7 @@ swatch_customize (GtkColorSwatch *swatch,
|
|||||||
|
|
||||||
gtk_widget_hide (cc->priv->palette);
|
gtk_widget_hide (cc->priv->palette);
|
||||||
gtk_widget_show (cc->priv->editor);
|
gtk_widget_show (cc->priv->editor);
|
||||||
|
g_object_notify (cc, "show-editor");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -163,6 +164,7 @@ button_activate (GtkColorSwatch *swatch,
|
|||||||
|
|
||||||
gtk_widget_hide (cc->priv->palette);
|
gtk_widget_hide (cc->priv->palette);
|
||||||
gtk_widget_show (cc->priv->editor);
|
gtk_widget_show (cc->priv->editor);
|
||||||
|
g_object_notify (cc, "show-editor");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user