afrancoto / WebMenu

Rhythmbox 3 third party plugin WebMenu
6 stars 2 forks source link

LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent. #16

Closed afrancoto closed 12 years ago

afrancoto commented 12 years ago

This code in the draw_menu function:

   os.system("echo draw_menu: "+ str(not menu_not_drawn))
    if not menu_not_drawn :
    ui_manager.remove_ui(ui_id) #Delete a previous drawn menu
    del ui_id
    ui_manager.ensure_update()
    os.system("echo \"it's him!\"")

gives me this warning:

draw_menu: True

(rhythmbox:7799): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
it's him!
afrancoto commented 12 years ago

The warning is generated with the line

ui_manager.ensure_update()
asermax commented 12 years ago

I don't get this warning for some reason :S since the latest updates, it have been working fine with me, except for some flickers in the activating/disabling services (i'm testing it out, I'll probably post an issue later).

Btw, just a pair of offtopic points:

afrancoto commented 12 years ago

You mean that some checkboxes don't work? It's because the URL that they are enabling is empty and I didn't know how to remove the relative checkbox from the treeview :P

Thanks! I saw that the print function didn't work and I was too lazy to google it! XD

No problems! I'm in a rush because I don't know how much time I will have in the near future, so I try to do everything I can now, don't worry :P

asermax commented 12 years ago

Ok, I won't worry, but I'll see if I can help with something xD

And besides from the checkbox without URL, what have been happening is that if I enable/disable multiple services before clicking on 'Ok', sometimes it behaves correctly, others it enables/disables just some of the options I changed. It's weird, but it doesn't always happen, so I'm trying to figure it what makes it happen.

afrancoto commented 12 years ago

Now I remember: I got the same error! I clicked on "reset to default" and it never shown up again :/