[gnome-control-center/gbsneto/settings-navigation-part1: 20/22] panel-list: Reorganize Devices section



commit 5f640b990342e117c1f8755afe9ed8dfaf5bda15
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed Nov 27 19:48:31 2019 -0300

    panel-list: Reorganize Devices section
    
    Move the Power and Sound panel to there.

 panels/power/gnome-power-panel.desktop.in.in | 2 +-
 panels/sound/gnome-sound-panel.desktop.in.in | 2 +-
 shell/cc-panel-list.c                        | 6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/panels/power/gnome-power-panel.desktop.in.in b/panels/power/gnome-power-panel.desktop.in.in
index 84a1634a7..56e4b60c3 100644
--- a/panels/power/gnome-power-panel.desktop.in.in
+++ b/panels/power/gnome-power-panel.desktop.in.in
@@ -8,7 +8,7 @@ Terminal=false
 Type=Application
 NoDisplay=true
 StartupNotify=true
-Categories=GNOME;GTK;Settings;DesktopSettings;X-GNOME-Settings-Panel;HardwareSettings;
+Categories=GNOME;GTK;Settings;DesktopSettings;X-GNOME-Settings-Panel;X-GNOME-DevicesSettings;
 OnlyShowIn=GNOME;Unity;
 X-GNOME-Bugzilla-Bugzilla=GNOME
 X-GNOME-Bugzilla-Product=gnome-control-center
diff --git a/panels/sound/gnome-sound-panel.desktop.in.in b/panels/sound/gnome-sound-panel.desktop.in.in
index 655a5127e..68693772d 100644
--- a/panels/sound/gnome-sound-panel.desktop.in.in
+++ b/panels/sound/gnome-sound-panel.desktop.in.in
@@ -8,7 +8,7 @@ Terminal=false
 Type=Application
 NoDisplay=true
 StartupNotify=true
-Categories=GNOME;GTK;Settings;HardwareSettings;X-GNOME-Settings-Panel;
+Categories=GNOME;GTK;Settings;X-GNOME-Settings-Panel;X-GNOME-DevicesSettings;
 OnlyShowIn=GNOME;Unity;
 X-GNOME-Bugzilla-Bugzilla=GNOME
 X-GNOME-Bugzilla-Product=gnome-control-center
diff --git a/shell/cc-panel-list.c b/shell/cc-panel-list.c
index 11bcf8bba..e40b9f130 100644
--- a/shell/cc-panel-list.c
+++ b/shell/cc-panel-list.c
@@ -395,8 +395,6 @@ static const gchar * const panel_order[] = {
   "privacy",
   "online-accounts",
   "sharing",
-  "sound",
-  "power",
   "network",
 
   /* Privacy page */
@@ -408,9 +406,11 @@ static const gchar * const panel_order[] = {
   "diagnostics",
 
   /* Devices page */
+  "sound",
+  "power",
   "display",
-  "keyboard",
   "mouse",
+  "keyboard",
   "printers",
   "removable-media",
   "thunderbolt",


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