[gimp/gimp-2-10] app: in gimp_widget_blink(), cancel blinking of parent widgets
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] app: in gimp_widget_blink(), cancel blinking of parent widgets
- Date: Mon, 10 Dec 2018 13:58:06 +0000 (UTC)
commit 66a9dffa2e273f8e1c83d1856bdc6d9a95f01948
Author: Ell <ell_se yahoo com>
Date: Mon Dec 10 07:57:02 2018 -0500
app: in gimp_widget_blink(), cancel blinking of parent widgets
When blinking a widget using gimp_widget_blink(), cancel the
blinking of all its ancestors, to reduce visual clutter.
(cherry picked from commit fe139e566293337fa8e7a4ae64e2e00dc6fe3eaa)
app/widgets/gimpwidgets-utils.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/app/widgets/gimpwidgets-utils.c b/app/widgets/gimpwidgets-utils.c
index 529a453fef..f14f6b1cf5 100644
--- a/app/widgets/gimpwidgets-utils.c
+++ b/app/widgets/gimpwidgets-utils.c
@@ -1496,6 +1496,9 @@ gimp_widget_blink (GtkWidget *widget)
widget);
gimp_highlight_widget (widget, TRUE);
+
+ while ((widget = gtk_widget_get_parent (widget)))
+ gimp_widget_blink_cancel (widget);
}
void gimp_widget_blink_cancel (GtkWidget *widget)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]