[Xfce4-commits] <xfce4-panel:master> Reverse menu item insert order (bug #7102).

Nick Schermer noreply at xfce.org
Sun Jan 23 12:48:01 CET 2011


Updating branch refs/heads/master
         to 39c02586f4ceefc99c83afdafd15aae0802c847f (commit)
       from cfad253bd5d09e0fc1e5493e3e621120c9250b9d (commit)

commit 39c02586f4ceefc99c83afdafd15aae0802c847f
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Jan 23 12:46:23 2011 +0100

    Reverse menu item insert order (bug #7102).
    
    The insert order was reversed in 4.8, compared to 4.6.

 libxfce4panel/xfce-panel-plugin.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libxfce4panel/xfce-panel-plugin.c b/libxfce4panel/xfce-panel-plugin.c
index b06885a..a88fe52 100644
--- a/libxfce4panel/xfce-panel-plugin.c
+++ b/libxfce4panel/xfce-panel-plugin.c
@@ -1756,8 +1756,8 @@ xfce_panel_plugin_menu_insert_item (XfcePanelPlugin *plugin,
   g_return_if_fail (GTK_IS_MENU_ITEM (item));
 
   /* take the item and add to internal list */
-  plugin->priv->menu_items = g_slist_prepend (plugin->priv->menu_items,
-                                              g_object_ref_sink (item));
+  plugin->priv->menu_items = g_slist_append (plugin->priv->menu_items,
+                                             g_object_ref_sink (item));
   g_signal_connect (G_OBJECT (item), "destroy",
       G_CALLBACK (xfce_panel_plugin_menu_item_destroy), plugin);
 



More information about the Xfce4-commits mailing list