The application category is changed to system

This commit is contained in:
tanyulong2021 2022-07-14 09:47:42 +08:00
parent dac12ca2be
commit 7f72048b3d
2 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,23 @@
From 949e674399ba4ad597b933a01f01bebd0a39db1d Mon Sep 17 00:00:00 2001
From: tanyulong2021 <tanyulong@kylinos.cn>
Date: Thu, 14 Jul 2022 09:45:11 +0800
Subject: [PATCH] The application category is changed to system
---
indicator-china-weather.desktop | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/indicator-china-weather.desktop b/indicator-china-weather.desktop
index 1dbd4d3..36a6137 100644
--- a/indicator-china-weather.desktop
+++ b/indicator-china-weather.desktop
@@ -13,5 +13,5 @@ Icon=indicator-china-weather
Terminal=false
Type=Application
X-GNOME-Autostart-Delay=10
-Categories=GNOME;Utility;
+Categories=System Settings Security;
X-UKUI-AutoRestart=true;
--
2.33.0

View File

@ -1,7 +1,7 @@
%define debug_package %{nil}
Name: indicator-china-weather
Version: 3.1.0
Release: 17
Release: 18
Summary: The weather data are from the heweather API s6 version.
License: GPL-3.0+
URL: https://github.com/UbuntuKylin/indicator-china-weather
@ -32,6 +32,7 @@ patch7: 0007-Repair-menu-button-hover-style-exception.patch
patch8: 0008-Solve-the-problem-of-button-backlighting.patch
patch9: 0009-Update-ts-file-and-add-today-translation.patch
patch10:0010-update-translation-file.patch
patch11:0011-The-application-category-is-changed-to-system.patch
%description
Indicator that displays China weather information
@ -52,6 +53,7 @@ patch10:0010-update-translation-file.patch
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%build
%{qmake_qt5} %{_qt5_qmake_flags} CONFIG+=enable-by-default indicator-china-weather.pro
@ -83,6 +85,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/man/man1/indicator-china-weather.1.gz
%changelog
* Thu Jul 14 2022 tanyulong <tanyulong@kylinos.cn> - 3.1.0-18
- The application category is changed to system
* Wed Jul 13 2022 tanyulong <tanyulong@kylinos.cn> - 3.1.0-17
- update translation file