summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2020-11-06 21:35:45 +0000
committerJames Le Cuirot <chewi@gentoo.org>2020-11-06 21:35:45 +0000
commit5ec6155ac4f96a502512be1936aadc5cf26ae57f (patch)
treebda48c8ab82ee6760689360a58bd7888ee445b4d /games-util/sc-controller/files
parentdev-util/git-delta: arm64 keyworded (bug #753038) (diff)
downloadgentoo-5ec6155ac4f96a502512be1936aadc5cf26ae57f.tar.gz
gentoo-5ec6155ac4f96a502512be1936aadc5cf26ae57f.tar.bz2
gentoo-5ec6155ac4f96a502512be1936aadc5cf26ae57f.zip
games-util/sc-controller: New package
This was sys-apps/sc-controller in steam-overlay. Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-util/sc-controller/files')
-rw-r--r--games-util/sc-controller/files/status-icon-click.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/games-util/sc-controller/files/status-icon-click.patch b/games-util/sc-controller/files/status-icon-click.patch
new file mode 100644
index 000000000000..46b39553b483
--- /dev/null
+++ b/games-util/sc-controller/files/status-icon-click.patch
@@ -0,0 +1,28 @@
+From b1388d0e768f0bedd5704ffae9b13500ad325308 Mon Sep 17 00:00:00 2001
+From: James Le Cuirot <chewi@gentoo.org>
+Date: Sat, 17 Oct 2020 21:36:49 +0100
+Subject: [PATCH] Fix TypeError when clicking on the status icon
+
+The error was:
+
+ TypeError: GObject.emit() argument 1 must be str, not bytes
+---
+ scc/gui/statusicon.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/scc/gui/statusicon.py b/scc/gui/statusicon.py
+index 61ef9e96..83600492 100644
+--- a/scc/gui/statusicon.py
++++ b/scc/gui/statusicon.py
+@@ -322,7 +322,7 @@ class StatusIconProxy(StatusIcon):
+ self._load_fallback()
+
+ def _on_click(self, *args):
+- self.emit(b"clicked")
++ self.emit("clicked")
+
+ def _on_notify_active_gtk(self, *args):
+ if self._status_fb:
+--
+2.26.2
+