From 814a6d0506a0296874949d2f220cf816830f1c80 Mon Sep 17 00:00:00 2001 From: sandman Date: Sun, 06 Oct 2002 22:32:36 +0000 Subject: - reversed the sort order of menu applet positions - added logout applet to the base opie-taskbar ipk --- (limited to 'core/launcher/startmenu.cpp') diff --git a/core/launcher/startmenu.cpp b/core/launcher/startmenu.cpp index 647d0f2..917f4c1 100644 --- a/core/launcher/startmenu.cpp +++ b/core/launcher/startmenu.cpp @@ -272,9 +272,9 @@ static int compareAppletPositions(const void *a, const void *b) { const MenuApplet* aa = *(const MenuApplet**)a; const MenuApplet* ab = *(const MenuApplet**)b; - int d = ab->iface->position() - aa->iface->position(); + int d = aa->iface->position() - ab->iface->position(); if ( d ) return d; - return QString::compare(ab->library->library(),aa->library->library()); + return QString::compare(aa->library->library(),ab->library->library()); } void StartMenu::clearApplets() -- cgit v0.9.0.2