summaryrefslogtreecommitdiff
path: root/games-util/lutris/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
commit21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch)
treee1810a4b135afce04b34862ef0fab2bfaeb8aeca /games-util/lutris/files
parent7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff)
gentoo resync : 15.01.2020
Diffstat (limited to 'games-util/lutris/files')
-rw-r--r--games-util/lutris/files/lutris-0.5.4-gtk.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/games-util/lutris/files/lutris-0.5.4-gtk.patch b/games-util/lutris/files/lutris-0.5.4-gtk.patch
new file mode 100644
index 000000000000..a2c5d71d9982
--- /dev/null
+++ b/games-util/lutris/files/lutris-0.5.4-gtk.patch
@@ -0,0 +1,29 @@
+From a97150b78954e176cb0f825f0c201f54d5da613e Mon Sep 17 00:00:00 2001
+From: Stefan Strogin <steils@gentoo.org>
+Date: Tue, 31 Dec 2019 03:22:26 +0200
+Subject: [PATCH] Call the correct method for creating TreeModelSort (Closes
+ #2554)
+
+Upstream-Status: Accepted
+[https://github.com/lutris/lutris/commit/a99b17f00dfc4cdab80c237752cc3167d64194eb]
+Signed-off-by: Stefan Strogin <steils@gentoo.org>
+---
+ lutris/gui/views/store.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lutris/gui/views/store.py b/lutris/gui/views/store.py
+index ba331313..4d5f372e 100644
+--- a/lutris/gui/views/store.py
++++ b/lutris/gui/views/store.py
+@@ -130,7 +130,7 @@ class GameStore(GObject.Object):
+ self.prevent_sort_update = False # prevent recursion with signals
+ self.modelfilter = self.store.filter_new()
+ self.modelfilter.set_visible_func(self.filter_view)
+- self.modelsort = Gtk.TreeModelSort.sort_new_with_model(self.modelfilter)
++ self.modelsort = Gtk.TreeModelSort.new_with_model(self.modelfilter)
+ self.modelsort.connect("sort-column-changed", self.on_sort_column_changed)
+ self.modelsort.set_sort_func(sort_col, sort_func, sort_col)
+ self.sort_view(sort_key, sort_ascending)
+--
+2.24.1
+