After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 443367 - RBRemovableMediaSource without a volume
RBRemovableMediaSource without a volume
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: Removable Media
HEAD
Other All
: Normal enhancement
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks: 345006
 
 
Reported: 2007-06-02 23:22 UTC by Peter Grundström
Modified: 2007-06-03 01:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Initial patch (1.42 KB, patch)
2007-06-02 23:26 UTC, Peter Grundström
committed Details | Review

Description Peter Grundström 2007-06-02 23:22:56 UTC
Right now if you try to create a RBRemovableMediaSource without a volume rhythmbox will crash. RBRemovableMediaSource hold much common functionality useful for devices that doesn't have a GnomeVFS volume, e.g the mtp devices. To use that common functionality RBRemovableMediaSource must be able to function without a GnomeVFS volume.
Comment 1 Peter Grundström 2007-06-02 23:26:57 UTC
Created attachment 89260 [details] [review]
Initial patch

Initial patch to solve the problem. The only information that is extracted from the GnomeVFS volume is its name and icon. If there is no volume I used the volume name "Unknown" and the icon "multimedia-player", I thought those were appropriate.
Comment 2 James "Doc" Livingston 2007-06-03 01:17:37 UTC
Committed to svn, thanks.