[gimp] Issue #2674 - File/Open Recent opens the wrong document



commit 45ad58dff4a744a9ccace51b630dfa8be27f9b36
Author: Michael Natterer <mitch gimp org>
Date:   Sat Dec 28 21:38:06 2019 +0100

    Issue #2674 - File/Open Recent opens the wrong document
    
    Must call gimp_action_init() from gimp_action_impl_init() or the
    signal handlers to update label and tooltip will ever be installed.
    Found by Massimo.

 app/widgets/gimpactionimpl.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/app/widgets/gimpactionimpl.c b/app/widgets/gimpactionimpl.c
index 8d7e7fe250..8ebe6d2a6c 100644
--- a/app/widgets/gimpactionimpl.c
+++ b/app/widgets/gimpactionimpl.c
@@ -132,6 +132,8 @@ gimp_action_impl_init (GimpActionImpl *impl)
 {
   impl->ellipsize       = PANGO_ELLIPSIZE_NONE;
   impl->max_width_chars = -1;
+
+  gimp_action_init (GIMP_ACTION (impl));
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]