afrancoto / WebMenu

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

warning messages on startup #3

Closed fossfreedom closed 12 years ago

fossfreedom commented 12 years ago

launching rhythmbox 2.97 from a terminal I see the following warning messages... anything to worry about?

dad@dad-VirtualBox:~/.local/share/rhythmbox/plugins/WebMenu$ rhythmbox

(rhythmbox:3044): Gtk-WARNING **: Refusing to add non-unique action 'search_on_youtube_action' to action group 'WebMenuActionGroup'

(rhythmbox:3044): Gtk-WARNING **: Refusing to add non-unique action 'album_wikipedia' to action group 'WebMenuActionGroup'

(rhythmbox:3044): Gtk-WARNING **: Refusing to add non-unique action 'artist_allmusic' to action group 'WebMenuActionGroup'

(rhythmbox:3044): Gtk-WARNING **: Refusing to add non-unique action 'artist_torrentz' to action group 'WebMenuActionGroup'
afrancoto commented 12 years ago

I get the same warnings, I don't know why they show up! :P I googled the problem without success, I'll try again as soon as possible, now i'm writing the next version with the option window :D

asermax commented 12 years ago

The warnings come up 'coz you are registering those actions twice in the draw_menu method. It doesn't cause any problems tho.

Anyway, deleting the extras 'add_action' after the 'add_action_with_accel' will get ride of those warnings :3

afrancoto commented 12 years ago

Thank you! I fix it right now! :D