From abea3179aff78d7692c874ff4618d5ad7ff8336c Mon Sep 17 00:00:00 2001 From: Toni Asensi Esteve Date: Sun, 5 Jun 2022 23:04:08 +0200 Subject: [PATCH] Mark KDE Partition Manager as a single main window program As it happens with other programs (https://github.com/nextcloud/desktop/pull/4194 , https://invent.kde.org/pim/knotes/-/commit/70e81d7286c83ff28deadb2f2b80e67b463d1db7 , https://github.com/qbittorrent/qBittorrent/pull/15996 , https://nicolasfella.de/posts/taskbar-single-app , https://gitlab.freedesktop.org/xdg/xdg-specs/-/merge_requests/53): There can only be one instance of the program running. Mark it as such in the .desktop file. This allows desktop environments to adjust their UI accordingly. --- src/org.kde.partitionmanager.desktop | 1 + 1 file changed, 1 insertion(+) diff --git a/src/org.kde.partitionmanager.desktop b/src/org.kde.partitionmanager.desktop index b298f22d..b9be064d 100644 --- a/src/org.kde.partitionmanager.desktop +++ b/src/org.kde.partitionmanager.desktop @@ -167,6 +167,7 @@ Comment[zh_TW]=管理磁碟、分割區與檔案系統 Exec=partitionmanager Icon=partitionmanager Categories=System;Filesystem;KDE;Qt; +SingleMainWindow=True X-KDE-StartupNotify=true Keywords=partition;disk; Keywords[ar]=أقسام;قرص;