mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-31 16:01:11 +00:00
Dismiss popups on show
This ensures that the editor always comes up without popups, even when it is reused.
This commit is contained in:
parent
3f92e24cb7
commit
1f7cc92219
@ -511,6 +511,8 @@ gtk_color_editor_init (GtkColorEditor *editor)
|
||||
|
||||
g_signal_connect (editor->priv->overlay, "get-child-position",
|
||||
G_CALLBACK (get_child_position), editor);
|
||||
g_signal_connect (editor, "notify::visible",
|
||||
G_CALLBACK (dismiss_current_popup), NULL);
|
||||
|
||||
gtk_widget_show_all (editor->priv->overlay);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user