[gimp] app: in gimp_widget_blink(), cancel blinking of parent widgets
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: in gimp_widget_blink(), cancel blinking of parent widgets
- Date: Mon, 10 Dec 2018 13:58:41 +0000 (UTC)
commit fe139e566293337fa8e7a4ae64e2e00dc6fe3eaa
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.
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 d435aac872..9e6edaecad 100644
--- a/app/widgets/gimpwidgets-utils.c
+++ b/app/widgets/gimpwidgets-utils.c
@@ -1357,6 +1357,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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]