![]() |
![]() |
![]() |
Rhythmbox Development Reference Manual | ![]() |
---|---|---|---|---|
RBImportErrorsSource; RBImportErrorsSourceClass; RBSource* rb_import_errors_source_new (RBShell *shell, RhythmDBEntryType entry_type);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkHBox +----RBSource +----RBImportErrorsSource
This source is used to display the names of files that could not be imported into the library, along with any error messages from the import process. When there are no import errors to display, the source is hidden.
The source allows the user to delete the import error entries, and to move the files to the trash.
When a file import fails, a RhythmDBEntry is created with a specific entry type for import errors. This source uses a query model that matches all such import error entries.
To keep import errors from removable devices separate from those from the main library, multiple import error sources can be created, with separate entry types. The generic audio player plugin, for example, creates an import error source for each device and inserts it into the source list as a child of the main source for the device.
RBSource* rb_import_errors_source_new (RBShell *shell, RhythmDBEntryType entry_type);
Creates a new source for displaying import errors of the specified type.
|
the RBShell instance |
|
the entry type to display in the source |
Returns : |
a new import error source |