[gnome-control-center/wip/oholy/users-desktop-file: 13/13] user-account: Use the same Categories as other panels



commit a800e975103945d2601f5d18db333b028c8c0ee8
Author: Ondrej Holy <oholy redhat com>
Date:   Thu Dec 13 16:41:38 2018 +0100

    user-account: Use the same Categories as other panels
    
    gnome-user-accounts-panel.desktop has some differences in "Categories" in
    comparison to other desktop files provided by gnome-control-center for no
    obvious reason.
    
    Add "GNOME" and "GTK" categories, which are used in all other desktop files.
    
    Remove "System" and use just "Settings" main category. This among others
    prevents the following output from desktop-file-validate:
    
    /usr/share/applications/gnome-user-accounts-panel.desktop: hint: value
    "System;Settings;X-GNOME-Settings-Panel;X-GNOME-DetailsSettings;" for key
    "Categories" in group "Desktop Entry" contains more than one main
    category; application might appear more than once in the application menu
    
    All other desktop files uses just the "Settings" main category.
    
    But maybe this is totally useless patch, because it seems that GNOME Shell
    do not care about the most of categories and GNOME Classic do not show those
    desktop files in menus at all.

 panels/user-accounts/data/gnome-user-accounts-panel.desktop.in.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/panels/user-accounts/data/gnome-user-accounts-panel.desktop.in.in 
b/panels/user-accounts/data/gnome-user-accounts-panel.desktop.in.in
index 219921ad5..c2e361dad 100644
--- a/panels/user-accounts/data/gnome-user-accounts-panel.desktop.in.in
+++ b/panels/user-accounts/data/gnome-user-accounts-panel.desktop.in.in
@@ -8,7 +8,7 @@ Terminal=false
 Type=Application
 NoDisplay=true
 StartupNotify=true
-Categories=System;Settings;X-GNOME-Settings-Panel;X-GNOME-DetailsSettings;
+Categories=GNOME;GTK;Settings;X-GNOME-Settings-Panel;X-GNOME-DetailsSettings;
 OnlyShowIn=GNOME;Unity;
 X-GNOME-Bugzilla-Bugzilla=GNOME
 X-GNOME-Bugzilla-Product=gnome-control-center


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]