[rhythmbox/media-player-sync] generic-player: load media player settings, expose sync action
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox/media-player-sync] generic-player: load media player settings, expose sync action
- Date: Sun, 21 Mar 2010 03:38:30 +0000 (UTC)
commit 3bfe0d665780f595be5bc9abeb1574ebbddaeb37
Author: Jonathan Matthew <jonathan d14n org>
Date: Sun Mar 21 13:33:41 2010 +1000
generic-player: load media player settings, expose sync action
Generic player sync basically works now.
plugins/generic-player/generic-player-ui.xml | 6 +++++-
plugins/generic-player/rb-generic-player-source.c | 1 +
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/plugins/generic-player/generic-player-ui.xml b/plugins/generic-player/generic-player-ui.xml
index 22347c1..6a0969b 100644
--- a/plugins/generic-player/generic-player-ui.xml
+++ b/plugins/generic-player/generic-player-ui.xml
@@ -1,7 +1,11 @@
<ui>
<popup name="GenericPlayerSourcePopup">
- <menuitem name="GenericPlayerSourcePopupEject" action="RemovableSourceEject"/>
+ <menuitem name="GenericPlayerSourcePopupSync" action="MediaPlayerSourceSync"/>
+ <separator />
<menuitem name="GenericPlayerSourcePopupNewPlaylist" action="GenericPlayerSourceNewPlaylist"/>
+ <separator />
+ <menuitem name="GenericPlayerSourcePopupEject" action="RemovableSourceEject"/>
+ <separator />
<menuitem name="GenericPlayerSourcePopupProperties" action="GenericPlayerSourceProperties"/>
</popup>
diff --git a/plugins/generic-player/rb-generic-player-source.c b/plugins/generic-player/rb-generic-player-source.c
index 342a776..1211322 100644
--- a/plugins/generic-player/rb-generic-player-source.c
+++ b/plugins/generic-player/rb-generic-player-source.c
@@ -260,6 +260,7 @@ impl_constructed (GObject *object)
}
g_strfreev (playlist_formats);
+ rb_media_player_source_load (RB_MEDIA_PLAYER_SOURCE (source));
load_songs (source);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]