RBMissingFilesSource

RBMissingFilesSource — source displaying files missing from the library

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBox
                    ╰── RBDisplayPage
                        ╰── RBSource
                            ╰── RBMissingFilesSource

Implemented Interfaces

RBMissingFilesSource implements AtkImplementorIface, GtkBuildable and GtkOrientable.

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.

Functions

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.

Parameters

shell

the RBShell instance

 

library

the RBLibrarySource instance

 

Returns

the RBMissingFilesSource

Types and Values

struct RBMissingFilesSource

struct RBMissingFilesSource;

struct RBMissingFilesSourceClass

struct RBMissingFilesSourceClass {
	RBSourceClass parent;
};