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 508267 - dragging from nautilus tries to load images
dragging from nautilus tries to load images
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: Importing
0.11.x
Other Linux
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
: 528467 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-01-09 11:24 UTC by Sebastien Bacher
Modified: 2008-06-08 14:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastien Bacher 2008-01-09 11:24:15 UTC
The bug has been opened on https://bugs.launchpad.net/bugs/178704

"Binary package hint: rhythmbox

If you drag a folder from nautilus to the playlist area in rhythmbox, RB tries to load other files than mp3. Please see attached image."
Comment 1 Jonathan Matthew 2008-06-08 11:46:24 UTC
*** Bug 528467 has been marked as a duplicate of this bug. ***
Comment 2 Jonathan Matthew 2008-06-08 14:37:41 UTC
2008-06-09  Jonathan Matthew  <jonathan@d14n.org>

        * rhythmdb/rhythmdb-query-model.c:
        (rhythmdb_query_model_class_init),
        (rhythmdb_query_model_drag_data_received):
        * rhythmdb/rhythmdb-query-model.h:
        Add a new signal, 'filter-entry-drop', allowing model owners (sources,
        mostly) to filter out existing entries being dropped in.

        * sources/rb-source.c: (_rb_source_check_entry_type):
        * sources/rb-source.h:
        Add a helper function for checking entry types against a source's
        entry type.

        * sources/rb-playlist-source.c:
        (rb_playlist_source_entry_added_cb):
        Filter out newly added entries that don't match the playlist's entry
        type, but were in the location map (drag and drop from outside
        rhythmbox).

        * sources/rb-static-playlist-source.c:
        (rb_static_playlist_source_constructor),
        (rb_static_playlist_source_add_location_internal),
        (rb_static_playlist_source_filter_entry_drop):
        Use the query model filter-entry-drop signal to filter out drops of
        entries that don't match the playlist entry type.  Fixes #508267.