From 90b72c106dfe110e9bc5f888caa64079f79cf38a Mon Sep 17 00:00:00 2001 From: Sergey Avseyev Date: Mar 27 2018 11:00:29 +0000 Subject: Fix typo in the attribute in cursors patch --- diff --git a/911-load-cursors-in-enter-handler.patch b/911-load-cursors-in-enter-handler.patch index b4030a7..60baf38 100644 --- a/911-load-cursors-in-enter-handler.patch +++ b/911-load-cursors-in-enter-handler.patch @@ -1,4 +1,4 @@ -From c2f9fe11b5fedd0b9413dc84495dd112da70e059 Mon Sep 17 00:00:00 2001 +From 528242489a1521a38d70162c194a55c4f0df2bef Mon Sep 17 00:00:00 2001 From: Sergey Avseyev Date: Mon, 26 Mar 2018 00:09:42 +0300 Subject: [PATCH] Load cursors in 'enter' handler @@ -9,7 +9,7 @@ Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1555277 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/gui/mode.py b/gui/mode.py -index 84e18f63..bbac40ac 100644 +index 84e18f63..e41fdb88 100644 --- a/gui/mode.py +++ b/gui/mode.py @@ -26,6 +26,7 @@ from gtk import gdk @@ -35,7 +35,7 @@ index 84e18f63..bbac40ac 100644 assert self.doc is not None self.doc.tdw.set_override_cursor(self.cursor) + if self.cursor is None: -+ self.cursor = self.doc.app.cursor.get_action_cursor( ++ self.cursor = self.doc.app.cursors.get_action_cursor( + self.ACTION_NAME, gui.cursor.Name.ARROW) def leave(self, **kwds): @@ -57,7 +57,7 @@ index 84e18f63..bbac40ac 100644 + if self.inactive_cursor is None: + try: + # some children might override self.inactive_cursor as read-only attribute -+ self.inactive_cursor = self.doc.app.cursor. \ ++ self.inactive_cursor = self.doc.app.cursors. \ + get_action_cursor(self.ACTION_NAME, + gui.cursor.Name.ARROW) + except AttributeError: diff --git a/mypaint.spec b/mypaint.spec index bea6fad..ecad770 100644 --- a/mypaint.spec +++ b/mypaint.spec @@ -1,6 +1,6 @@ Name: mypaint Version: 1.2.1 -Release: 17%{?dist} +Release: 18%{?dist} Summary: A fast and easy graphics application for digital painters # MyPaint is GPLv2+, brush library LGPLv2+ @@ -144,6 +144,9 @@ chmod 755 %{buildroot}%{_libdir}/%{name}/_mypaintlib.so \ %{_libdir}/pkgconfig/libmypaint.pc %changelog +* Tue Mar 27 2018 Sergey Avseyev - 1.2.1-18 +- Update patch for #1555277 (fix typo in the attribute) + * Tue Mar 27 2018 Sergey Avseyev - 1.2.1-17 - Update patch for #1555277