midori-paths

midori-paths

Functions

Types and Values

Object Hierarchy


Description

Functions

midori_paths_get_config_dir_for_reading ()

gchar *
midori_paths_get_config_dir_for_reading
                               (void);

Parameters

self

the (null) instance

 

midori_paths_get_config_filename_for_reading ()

gchar *
midori_paths_get_config_filename_for_reading
                               (const gchar *filename);

Parameters

self

the (null) instance

 

filename

 

 

midori_paths_is_readonly ()

gboolean
midori_paths_is_readonly (void);

Parameters

self

the (null) instance

 

midori_paths_get_runtime_mode ()

MidoriRuntimeMode
midori_paths_get_runtime_mode (void);

Parameters

self

the (null) instance

 

midori_paths_get_runtime_dir ()

const gchar *
midori_paths_get_runtime_dir (void);

Parameters

self

the (null) instance

 

Returns

.

[transfer none]


midori_paths_init ()

void
midori_paths_init (MidoriRuntimeMode new_mode,
                   const gchar *config);

Parameters

self

the (null) instance

 

new_mode

 

 

config

 

 

midori_paths_mkdir_with_parents ()

void
midori_paths_mkdir_with_parents (const gchar *path,
                                 gint mode);

Parameters

self

the (null) instance

 

path

 

 

mode

 

 

midori_paths_remove_path ()

void
midori_paths_remove_path (const gchar *path);

Parameters

self

the (null) instance

 

path

 

 

midori_paths_get_config_dir_for_writing ()

const gchar *
midori_paths_get_config_dir_for_writing
                               (void);

Parameters

self

the (null) instance

 

Returns

.

[transfer none]


midori_paths_get_extension_config_dir ()

gchar *
midori_paths_get_extension_config_dir (const gchar *extension);

Parameters

self

the (null) instance

 

extension

 

 

midori_paths_get_extension_preset_filename ()

gchar *
midori_paths_get_extension_preset_filename
                               (const gchar *extension,
                                const gchar *filename);

Parameters

self

the (null) instance

 

extension

 

 

filename

 

 

midori_paths_get_config_filename_for_writing ()

gchar *
midori_paths_get_config_filename_for_writing
                               (const gchar *filename);

Parameters

self

the (null) instance

 

filename

 

 

midori_paths_get_cache_dir ()

const gchar *
midori_paths_get_cache_dir (void);

Parameters

self

the (null) instance

 

Returns

.

[transfer none]


midori_paths_get_user_data_dir ()

const gchar *
midori_paths_get_user_data_dir (void);

Parameters

self

the (null) instance

 

Returns

.

[transfer none]


midori_paths_get_user_data_dir_for_reading ()

const gchar *
midori_paths_get_user_data_dir_for_reading
                               (void);

Parameters

self

the (null) instance

 

Returns

.

[transfer none]


midori_paths_get_cache_dir_for_reading ()

const gchar *
midori_paths_get_cache_dir_for_reading
                               (void);

Parameters

self

the (null) instance

 

Returns

.

[transfer none]


midori_paths_get_tmp_dir ()

const gchar *
midori_paths_get_tmp_dir (void);

Parameters

self

the (null) instance

 

Returns

.

[transfer none]


midori_paths_make_tmp_dir ()

gchar *
midori_paths_make_tmp_dir (const gchar *tmpl);

Parameters

self

the (null) instance

 

tmpl

 

 

midori_paths_init_exec_path ()

void
midori_paths_init_exec_path (gchar **new_command_line,
                             int new_command_line_length1);

Parameters

self

the (null) instance

 

new_command_line_length1

length of the new_command_line array

 

new_command_line

 

 

midori_paths_get_command_line ()

gchar **
midori_paths_get_command_line (int *result_length1);

Parameters

self

the (null) instance

 

Returns

.

[array length=result_length1]


midori_paths_get_command_line_str ()

gchar *
midori_paths_get_command_line_str (gboolean for_display);

Parameters

self

the (null) instance

 

for_display

 

 

midori_paths_get_lib_path ()

gchar *
midori_paths_get_lib_path (const gchar *package);

Parameters

self

the (null) instance

 

package

 

 

midori_paths_get_res_filename ()

gchar *
midori_paths_get_res_filename (const gchar *filename);

Parameters

self

the (null) instance

 

filename

 

 

midori_paths_get_data_filename ()

gchar *
midori_paths_get_data_filename (const gchar *filename,
                                gboolean res);

Parameters

self

the (null) instance

 

filename

 

 

res

 

 

midori_paths_get_preset_filename ()

gchar *
midori_paths_get_preset_filename (const gchar *folder,
                                  const gchar *filename);

Parameters

self

the (null) instance

 

folder

 

 

filename

 

 

midori_paths_clear_icons ()

void
midori_paths_clear_icons (void);

Parameters

self

the (null) instance

 

midori_paths_get_icon ()

GdkPixbuf *
midori_paths_get_icon (const gchar *uri,
                       GtkWidget *widget);

Parameters

self

the (null) instance

 

uri

 

 

widget

 

 

midori_paths_test_reset_runtime_mode ()

void
midori_paths_test_reset_runtime_mode (void);

Parameters

self

the (null) instance

 

Types and Values

enum MidoriRuntimeMode

Members

MIDORI_RUNTIME_MODE_UNDEFINED

   

MIDORI_RUNTIME_MODE_NORMAL

   

MIDORI_RUNTIME_MODE_APP

   

MIDORI_RUNTIME_MODE_PRIVATE

   

MIDORI_RUNTIME_MODE_PORTABLE