Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

neochat: Allow system tray support in GNOME #3948

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From 6e98e83b1b4b199ac8c1f5eccd7884d8d43c8a2c Mon Sep 17 00:00:00 2001
From: Joey Riches <[email protected]>
Date: Sun, 29 Sep 2024 17:06:12 +0100
Subject: [PATCH 1/1] controller: Fuck you give me a system tray

---
src/controller.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/controller.cpp b/src/controller.cpp
index 916b33c35..6cf1be2f4 100644
--- a/src/controller.cpp
+++ b/src/controller.cpp
@@ -292,7 +292,7 @@ bool Controller::supportSystemTray() const
return false;
#else
auto de = QString::fromLatin1(qgetenv("XDG_CURRENT_DESKTOP"));
- return de != QStringLiteral("GNOME") && de != QStringLiteral("Pantheon");
+ return de != QStringLiteral("Pantheon");
#endif
}

--
2.46.1

3 changes: 2 additions & 1 deletion packages/n/neochat/package.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name : neochat
version : 24.08.1
release : 29
release : 30
source :
- https://download.kde.org/stable/release-service/24.08.1/src/neochat-24.08.1.tar.xz : a394f04cf19d5567437e558075c9f7ce5c37bf73943b13c47739ff56acde571d
homepage : https://apps.kde.org/neochat/
Expand Down Expand Up @@ -60,6 +60,7 @@ optimize :
- speed
- thin-lto
setup : |
%patch -p1 -i $pkgfiles/0001-controller-Fuck-you-give-me-a-system-tray.patch
%cmake_kf6
build : |
%ninja_build
Expand Down
12 changes: 6 additions & 6 deletions packages/n/neochat/pspec_x86_64.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<Name>neochat</Name>
<Homepage>https://apps.kde.org/neochat/</Homepage>
<Packager>
<Name>Reilly Brogan</Name>
<Email>solus@reillybrogan.com</Email>
<Name>Joey Riches</Name>
<Email>josephriches@gmail.com</Email>
</Packager>
<License>BSD-2-Clause</License>
<License>GPL-2.0-or-later</License>
Expand Down Expand Up @@ -85,12 +85,12 @@
</Files>
</Package>
<History>
<Update release="29">
<Date>2024-09-12</Date>
<Update release="30">
<Date>2024-09-29</Date>
<Version>24.08.1</Version>
<Comment>Packaging update</Comment>
<Name>Reilly Brogan</Name>
<Email>solus@reillybrogan.com</Email>
<Name>Joey Riches</Name>
<Email>josephriches@gmail.com</Email>
</Update>
</History>
</PISI>