RBMissingFilesSource

RBMissingFilesSource — source displaying files missing from the library

Synopsis

                    RBMissingFilesSource;
                    RBMissingFilesSourceClass;
RBSource*           rb_missing_files_source_new         (RBShell *shell,
                                                         RBLibrarySource *library);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBox
                                 +----GtkHBox
                                       +----RBSource
                                             +----RBMissingFilesSource

Implemented Interfaces

RBMissingFilesSource implements AtkImplementorIface and GtkBuildable.

Description

This source displays files that rhythmbox cannot find at the expected locations. On startup, it does a file access check for every file in the library, hiding those that fail. This source sets up a query model that matches only hidden entries. It displays the file location and the last time the file was successfully accessed.

The source only displayed in the source list when there are hidden entries to show.

Details

RBMissingFilesSource

typedef struct _RBMissingFilesSource RBMissingFilesSource;


RBMissingFilesSourceClass

typedef struct {
	RBSourceClass parent;
} RBMissingFilesSourceClass;


rb_missing_files_source_new ()

RBSource*           rb_missing_files_source_new         (RBShell *shell,
                                                         RBLibrarySource *library);

Creates the missing files source. It extracts the entry type from the library source instance, so it currently only works for files in the library, but it would be trivial to make it use any source type that did file access checks for its contents.

shell :

the RBShell instance

library :

the RBLibrarySource instance

Returns :

the RBMissingFiles source