summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2017-01-30 10:38:56 +0100
committerlukefromdc <[email protected]>2017-01-30 15:20:43 -0500
commit0149809d9ea5d8f4d72b8f9a2bed139bfda98730 (patch)
tree5ae77f73e49f388b61cfb01971b8bfa0de32b61d
parent2fec9eb820fd44d8397df32aa61346077f301caa (diff)
downloadmate-panel-0149809d9ea5d8f4d72b8f9a2bed139bfda98730.tar.bz2
mate-panel-0149809d9ea5d8f4d72b8f9a2bed139bfda98730.tar.xz
notification area: Fix system tray icons forced ordering
The order was reversed when porting from the previous sorting method. Part of #521.
-rw-r--r--applets/notification_area/system-tray/na-tray-child.c8
1 files changed, 4 insertions, 4 deletions
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 *