Return a %NULL-terminated array of paths to directories which can contain Totem plugins. This respects the GSettings disable_user_plugins setting.
Put the given icon_name
into button,
and pack button
into header
according to pack_type
.
The header widget to put the button in
The button to use in the header
The icon name for the button image
A #GtkPackType to tell us where to include the button
Display a modal error dialogue like totem_interface_error(),
but add a button which will open uri
in a browser window.
the error title
the error reason (secondary text)
the URI to open
a label for the URI's button, or %NULL to use uri
as the label
the error dialogue's parent #GtkWindow
Load a #GtkBuilder UI file with the given name and return the #GtkBuilder instance for it. If loading the file fails, an error dialogue is shown.
the #GtkBuilder UI file to load
%TRUE if errors loading the file should be fatal, %FALSE otherwise
the parent window to use when displaying error dialogues, or %NULL
the user data to pass to gtk_builder_connect_signals(), or %NULL
Load the image called name
in the directory given by totem_interface_get_full_path() into a #GdkPixbuf.
the image file name
Load a #GtkBuilder UI file from the given path and return the #GtkBuilder instance for it. If loading the file fails, an error dialogue is shown.
the #GtkBuilder UI file path to load
%TRUE if errors loading the file should be fatal, %FALSE otherwise
the parent window to use when displaying error dialogues, or %NULL
the user data to pass to gtk_builder_connect_signals(), or %NULL
Finds the specified file
by looking in the plugin paths
listed by totem_get_plugin_paths() and then in the system
Totem data directory.
This should be used by plugins to find plugin-specific resource files.
the plugin name
the file to find
Loads an interface file (GtkBuilder UI file) for a plugin, given its filename and assuming it's installed in the plugin's data directory.
This should be used instead of attempting to load interfaces manually in plugins.
the plugin name
interface filename
%TRUE if it's a fatal error if the interface can't be loaded
the interface's parent #GtkWindow
a pointer to be passed to each signal handler in the interface when they're called
The GSettings schema under which all Totem settings are stored.