From 0149809d9ea5d8f4d72b8f9a2bed139bfda98730 Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Mon, 30 Jan 2017 10:38:56 +0100 Subject: notification area: Fix system tray icons forced ordering The order was reversed when porting from the previous sorting method. Part of #521. --- applets/notification_area/system-tray/na-tray-child.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'applets/notification_area') diff --git a/applets/notification_area/system-tray/na-tray-child.c b/applets/notification_area/system-tray/na-tray-child.c index 3188fac1..0f4808b3 100644 --- a/applets/notification_area/system-tray/na-tray-child.c +++ b/applets/notification_area/system-tray/na-tray-child.c @@ -327,11 +327,11 @@ static const struct NaItemCategory category; } wmclass_categories[] = { /* order is LTR, so higher category and higher ASCII ordering on the right */ - { "Mate-power-manager", "~01-battery", NA_ITEM_CATEGORY_HARDWARE }, - { "Nm-applet", "~02-network", NA_ITEM_CATEGORY_HARDWARE }, + { "keyboard", "~01-keyboard", NA_ITEM_CATEGORY_HARDWARE }, + { "Mate-volume-control-applet", "~02-volume", NA_ITEM_CATEGORY_HARDWARE }, { "Bluetooth-applet", "~03-bluetooth", NA_ITEM_CATEGORY_HARDWARE }, - { "Mate-volume-control-applet", "~04-volume", NA_ITEM_CATEGORY_HARDWARE }, - { "keyboard", "~05-keyboard", NA_ITEM_CATEGORY_HARDWARE }, + { "Nm-applet", "~04-network", NA_ITEM_CATEGORY_HARDWARE }, + { "Mate-power-manager", "~05-battery", NA_ITEM_CATEGORY_HARDWARE }, }; static const gchar * -- cgit v1.2.1