User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060406 Firefox/1.6a1 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060406 Firefox/1.6a1 When you create a submenu (with some launchers) and you try to move the entire submenu, the content of the menu is removed. Reproducible: Always Steps to Reproduce: 1. Create submenu 2. Put launchers in submenu 3. Add some other stuff around the submenu 4. Move the submenu Actual Results: Submenu content removed Expected Results: Move the submenu with all it's content. Gtk 2.8.17, glib 2.10.2. Xfce from SVN (latest) Maybe some piece of extra code is needed in utils.c, line 751, to move the submenu children.
DnD and GtkTreeView is a real pain and still don't master it very well Anyway i finally found out that there is a simple basic way (i think) of moving rows around using the GtkTreeDragSource and GtkTreeDragDestination interfaces, i'll take a look into this soon
should be fixed now (rev 22058)
It work fine now with dnd, but the up/down buttons are still not working properly with submenus. Probably something goes wrong in the entry_{up,down}_cb functions, or it's a gtk bug. Sorry pollux, but i have to reopen this bug again :-(.
gtk_tree_store_swap isn't buggy anymore so i removed my (also buggy) workarounds and it's now fixed with revision 22151