Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] element-desktop: fix application icon grouping (StartupWMClass).
@ 2020-08-30 13:19 ProjectMoon
  0 siblings, 0 replies; only message in thread
From: ProjectMoon @ 2020-08-30 13:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 772 bytes --]

There is a new pull request by ProjectMoon against master on the void-packages repository

https://github.com/ProjectMoon/void-packages element-fix-wmclass
https://github.com/void-linux/void-packages/pull/24549

element-desktop: fix application icon grouping (StartupWMClass).
Small fix to the .desktop file to fix the WMClass so that Element appears properly on the taskbar. This appears to affect Gnome only. This changes the StartupWMClass to match that which is provided by the upstream code itself. Without this, you if you add Element to Gnome favorites (i.e. the taskbar), it will show up and then a second window will appear in the taskbar when you launch the application.

A patch file from https://github.com/void-linux/void-packages/pull/24549.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-element-fix-wmclass-24549.patch --]
[-- Type: text/x-diff, Size: 1398 bytes --]

From d90b623ffa27e2d7412aeb33805625207b77d189 Mon Sep 17 00:00:00 2001
From: projectmoon <projectmoon@agnos.is>
Date: Sun, 30 Aug 2020 13:16:05 +0000
Subject: [PATCH] element-desktop: fix application icon grouping
 (StartupWMClass).

---
 srcpkgs/element-desktop/files/element-desktop.desktop | 3 +--
 srcpkgs/element-desktop/template                      | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/element-desktop/files/element-desktop.desktop b/srcpkgs/element-desktop/files/element-desktop.desktop
index 3c2fc581df8..e8ab06a41aa 100644
--- a/srcpkgs/element-desktop/files/element-desktop.desktop
+++ b/srcpkgs/element-desktop/files/element-desktop.desktop
@@ -5,6 +5,5 @@ Exec=element-desktop
 Terminal=false
 Type=Application
 Icon=element
-StartupWMClass="Element"
+StartupWMClass=element
 Categories=Network;InstantMessaging;Chat;IRCClient
-
diff --git a/srcpkgs/element-desktop/template b/srcpkgs/element-desktop/template
index 71816d51321..7f8147d7f29 100644
--- a/srcpkgs/element-desktop/template
+++ b/srcpkgs/element-desktop/template
@@ -1,7 +1,7 @@
 # Template file for 'element-desktop'
 pkgname=element-desktop
 version=1.7.4
-revision=2
+revision=3
 wrksrc="element-web-${version}"
 conf_files="/etc/${pkgname}/config.json"
 hostmakedepends="git yarn nodejs rust cargo python sqlcipher-devel curl libappindicator-devel libnotify-devel pkg-config"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-30 13:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-30 13:19 [PR PATCH] element-desktop: fix application icon grouping (StartupWMClass) ProjectMoon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).