Add X-GNOME-Utilities desktop category

This commit is contained in:
Michael Catanzaro 2015-09-29 18:40:17 -05:00
parent 5fba927f2c
commit 575ee2e491
2 changed files with 30 additions and 1 deletions

23
desktop-category.patch Normal file
View File

@ -0,0 +1,23 @@
From 8fb874cf40cf4c164d35f575ed7089bc6ad30ca2 Mon Sep 17 00:00:00 2001
From: Michael Catanzaro <mcatanzaro@gnome.org>
Date: Wed, 23 Sep 2015 10:22:14 -0500
Subject: Put Disks in the Utilities folder
This broke when we renamed the desktop file.
https://lists.fedoraproject.org/pipermail/desktop/2015-September/012912.html
diff --git a/data/org.gnome.DiskUtility.desktop.in b/data/org.gnome.DiskUtility.desktop.in
index 8e1ebbb..7416752 100644
--- a/data/org.gnome.DiskUtility.desktop.in
+++ b/data/org.gnome.DiskUtility.desktop.in
@@ -7,5 +7,5 @@ Icon=gnome-disks
Terminal=false
Type=Application
StartupNotify=true
-Categories=GNOME;GTK;Utility;HardwareSettings;
+Categories=GNOME;GTK;Utility;HardwareSettings;X-GNOME-Utilities;
DBusActivatable=true
--
cgit v0.10.2

View File

@ -5,7 +5,7 @@
Name: gnome-disk-utility
Version: 3.18.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Disks
Group: Applications/System
@ -13,6 +13,9 @@ License: GPLv2+
URL: https://git.gnome.org/browse/gnome-disk-utility
Source0: https://download.gnome.org/sources/%{name}/3.18/%{name}-%{version}.tar.xz
# https://lists.fedoraproject.org/pipermail/desktop/2015-September/012912.html
Patch0: desktop-category.patch
BuildRequires: /usr/bin/appstream-util
BuildRequires: desktop-file-utils
BuildRequires: docbook-style-xsl
@ -109,6 +112,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
* Tue Sep 29 2015 Michael Catanzaro <mcatanzaro@gnome.org> - 3.18.0-2
- Add X-GNOME-Utilities desktop category
* Mon Sep 21 2015 Kalev Lember <klember@redhat.com> - 3.18.0-1
- Update to 3.18.0