[Rhythmbox-devel] Updated FileOrganizer for 2.99
- From: Lachlan <lachlan 00 gmail com>
- To: rhythmbox-devel gnome org
- Subject: [Rhythmbox-devel] Updated FileOrganizer for 2.99
- Date: Tue, 2 Jul 2013 12:18:07 +1000
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 = ""> 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!
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]