Hey everyone,
I sat down and updated fileorganizer to python 3 and RB2.99+.
[https://github.com/lachlan-00/rb-fileorganizer]
Right now it works and organises music correctly, but I have to do more
testing to make sure it's all working properly.
If anyone else is having trouble adding to the right click menu this is the
code I used to replace the old uimanager string. This creates an item in
the right click menu of the music browser.
Activate Code:
###########
app = Gio.Application.get_default()
# create action
action = Gio.SimpleAction(name="organize-selection")
action.connect("activate", self.organize_selection)
app.add_action(action)
# create menu item
item = Gio.MenuItem()
item.set_label("Organize Selection")
item.set_detailed_action("app.organize-selection")
# add plugin menu item
app.add_plugin_menu_item('browser-popup', "Organize Selection",
item)
app.add_action(action)
###########
On another note, the latest RB is running really well and looks great!
_______________________________________________
rhythmbox-devel mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/rhythmbox-devel