switch: Add a delayed state capability

Desktop / GNOME / GTK - Matthias Clasen [redhat.com] - 6 April 2014 00:52 UTC

This commit makes it possible for GtkSwitch to indicate when the underlying state changes with a delay, causing the switch to temporarily go 'out of sync' with the underlying change.

https://bugzilla.gnome.org/show_bug.cgi?id=725648

7b11f76 switch: Add a delayed state capability
gtk/gtkswitch.c | 154 ++++++++++++++++++++++++++++++++++++++++++++++++++-----
gtk/gtkswitch.h | 8 ++-
2 files changed, 149 insertions(+), 13 deletions(-)

Upstream: git.gnome.org


  • Share