UI improvements for multiple library locations
Submitted by Christian Becke
Link to original bug (#523162)
Description
If multiple library locations are set, only the default library source respects the /apps/rhythmbox/state/library/show_browser gconf setting: The browser is initially hidden for all library sources except for the default, regardless of the gconf setting.
This patch adds a new source RBLibraryChildSource (inheriting from RBAutoPlaylistSource, which was used previously for additional library locations) that proxies the parent sources impl_get_browser_key.
Thus, the default library location and additional locations do initially show (do not show) the browser if /library/show_browser is TRUE (FALSE), respectively.
Drawback: toggling browser visibility for any library source toggles it for all library sources. Maybe a better approach would be to have a show_browser gconf setting for each library location, but I don't know the best way to get a unique gconf identifier for each location (using the path name seems ugly, and gnome_vfs_uri_extract_short_name () could return duplicates... ). I at least prefer this behavior over having to toggle browser visibility for my additional library sources on every startup.
Version: HEAD