Commit 039eb8dc authored by Cosimo Cecchi's avatar Cosimo Cecchi

color-editor: mark the GtkColorSwatch as not selectable

parent 5f0c4fc2
......@@ -399,6 +399,7 @@ gtk_color_editor_init (GtkColorEditor *editor)
/* Construct the main UI */
editor->priv->swatch = swatch = gtk_color_swatch_new ();
gtk_color_swatch_set_selectable (GTK_COLOR_SWATCH (editor->priv->swatch), FALSE);
gtk_widget_set_events (swatch, gtk_widget_get_events (swatch)
& ~(GDK_BUTTON_PRESS_MASK
| GDK_BUTTON_RELEASE_MASK
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment