geany
1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
![]() ![]() |
#include <glib.h>
Go to the source code of this file.
Functions | |
void | configuration_init (void) |
void | configuration_finalize (void) |
void | configuration_add_pref_group (struct StashGroup *group, gboolean for_prefs_dialog) |
void | configuration_add_various_pref_group (struct StashGroup *group, const gchar *prefix) |
void | configuration_save (void) |
gboolean | configuration_load (void) |
void | configuration_open_files (void) |
void | configuration_reload_default_session (void) |
void | configuration_save_default_session (void) |
void | configuration_clear_default_session (void) |
void | configuration_load_session_files (GKeyFile *config, gboolean read_recent_files) |
void | configuration_save_session_files (GKeyFile *config) |
void | configuration_apply_settings (void) |
Variables | |
GPtrArray * | pref_groups |
void configuration_add_pref_group | ( | struct StashGroup * | group, |
gboolean | for_prefs_dialog | ||
) |
Definition at line 128 of file keyfile.c.
References group, keyfile_groups, and pref_groups.
Referenced by configuration_add_various_pref_group(), init_pref_groups(), init_prefs(), plugins_init(), and sidebar_init().
void configuration_add_various_pref_group | ( | struct StashGroup * | group, |
const gchar * | prefix | ||
) |
Definition at line 139 of file keyfile.c.
References configuration_add_pref_group(), group, and stash_group_set_various().
Referenced by init_pref_groups(), load_dialog_prefs(), and ui_init_prefs().
void configuration_apply_settings | ( | void | ) |
Definition at line 1318 of file keyfile.c.
References hpan_position, main_widgets, msgwin_show_hide_tabs(), msgwindow, prefs, GeanyPrefs::save_winpos, scribble_pos, scribble_text, ui_lookup_widget(), ui_prefs, ui_set_fullscreen(), vpan_position, and GeanyMainWidgets::window.
Referenced by main_lib().
void configuration_clear_default_session | ( | void | ) |
Definition at line 1125 of file keyfile.c.
References app, cl_options, GeanyApp::configdir, NULL, remove_session_files(), and utils_write_file().
Referenced by handle_current_session().
void configuration_finalize | ( | void | ) |
Definition at line 1395 of file keyfile.c.
References document_list_changed_cb(), foreach_ptr_array, geany_object, group, keyfile_groups, NULL, pref_groups, and stash_group_free().
Referenced by do_main_quit().
void configuration_init | ( | void | ) |
Definition at line 1383 of file keyfile.c.
References document_list_changed_cb(), geany_object, init_pref_groups(), keyfile_groups, NULL, and pref_groups.
Referenced by main_lib().
gboolean configuration_load | ( | void | ) |
Definition at line 1163 of file keyfile.c.
References app, GeanyApp::configdir, configuration_load_session_files(), GeanyApp::datadir, geany_debug(), geany_object, load_dialog_prefs(), load_ui_prefs(), NULL, project_load_prefs(), and SETPTR.
Referenced by load_settings().
void configuration_load_session_files | ( | GKeyFile * | config, |
gboolean | read_recent_files | ||
) |
Definition at line 691 of file keyfile.c.
References entry, error(), foreach_ptr_array, load_recent_files(), NULL, session_files, session_notebook_page, ui_prefs, utils_get_setting_integer(), and utils_get_setting_string().
Referenced by configuration_load(), configuration_reload_default_session(), and load_config().
void configuration_open_files | ( | void | ) |
Definition at line 1257 of file keyfile.c.
References _, file_prefs, main_status, main_widgets, GeanyMainWidgets::notebook, NULL, open_session_file(), session_files, session_notebook_page, GeanyFilePrefs::tab_order_ltr, and ui_set_statusbar().
Referenced by destroy_project(), load_startup_files(), project_load_file_with_session(), and run_new_dialog().
void configuration_reload_default_session | ( | void | ) |
Definition at line 1149 of file keyfile.c.
References app, GeanyApp::configdir, configuration_load_session_files(), and NULL.
Referenced by destroy_project(), and run_new_dialog().
void configuration_save | ( | void | ) |
Definition at line 632 of file keyfile.c.
References app, cl_options, GeanyApp::configdir, configuration_save_session_files(), geany_object, NULL, project_save_prefs(), save_dialog_prefs(), save_recent_files(), save_ui_prefs(), ui_prefs, and utils_write_file().
Referenced by do_main_quit(), on_prefs_dialog_response(), pm_dialog_response(), and save_configuration_cb().
void configuration_save_default_session | ( | void | ) |
Definition at line 1104 of file keyfile.c.
References app, cl_options, GeanyApp::configdir, configuration_save_session_files(), NULL, and utils_write_file().
Referenced by handle_current_session(), load_config(), and run_new_dialog().
void configuration_save_session_files | ( | GKeyFile * | config | ) |
Definition at line 398 of file keyfile.c.
References document_get_from_page(), entry, get_session_file_string(), main_widgets, max, GeanyMainWidgets::notebook, NULL, GeanyDocument::real_path, and remove_session_files().
Referenced by configuration_save(), configuration_save_default_session(), and write_config().
|
extern |
Definition at line 115 of file keyfile.c.
Referenced by configuration_add_pref_group(), configuration_finalize(), configuration_init(), prefs_action(), and prefs_show_dialog().