gnome-menus r881 - in trunk: . libmenu
- From: vuntz svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-menus r881 - in trunk: . libmenu
- Date: Sun, 13 Apr 2008 18:45:23 +0100 (BST)
Author: vuntz
Date: Sun Apr 13 18:45:23 2008
New Revision: 881
URL: http://svn.gnome.org/viewvc/gnome-menus?rev=881&view=rev
Log:
2008-04-13 Vincent Untz <vuntz gnome org>
* libmenu/gmenu-tree.c: (gmenu_tree_execute_moves): correctly order the
list of move operations to execute, so it's possible to undo a move by
doing the opposite move afterwards.
Fix bug #323771.
Modified:
trunk/ChangeLog
trunk/libmenu/gmenu-tree.c
Modified: trunk/libmenu/gmenu-tree.c
==============================================================================
--- trunk/libmenu/gmenu-tree.c (original)
+++ trunk/libmenu/gmenu-tree.c Sun Apr 13 18:45:23 2008
@@ -2719,6 +2719,9 @@
child = menu_layout_node_get_next (child);
}
+ /* We need to execute the move operations in the order that they appear */
+ move_nodes = g_slist_reverse (move_nodes);
+
tmp = move_nodes;
while (tmp != NULL)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]