Go to the source code of this file.
Defines | |
#define | GN_GLOBAL_PREFS "Global Preferences" |
#define | KN_SAVE_WINDOW_PREFS "Save Window Preferences" |
#define | KN_ABOUT_BOX "About Box" |
#define | KN_DATA_INTERPRETOR "Data Interpretor" |
#define | KN_LOG_BOX "Log Box" |
#define | KN_MAIN_DIALOG "Main Dialog" |
#define | KN_PLUGIN_LIST "Plugin List" |
#define | KN_LDT "List Data Types" |
#define | KN_MAIN_PREFS "Main Preferences" |
Functions | |
void | verify_preference_file (gchar *pathname, gchar *filename) |
void | save_main_preferences (heraia_window_t *main_window) |
void | setup_preferences (heraia_window_t *main_window) |
#define GN_GLOBAL_PREFS "Global Preferences" |
GN == Group Name KN == Key Name Thoses variables are the one to use in the main preference file
Definition at line 32 of file user_prefs.h.
Referenced by load_mp_file_preferences_options(), load_window_preferences(), save_mp_file_preferences_options(), and save_window_preferences().
#define KN_ABOUT_BOX "About Box" |
Definition at line 34 of file user_prefs.h.
Referenced by load_mp_file_preferences_options(), and save_mp_file_preferences_options().
#define KN_DATA_INTERPRETOR "Data Interpretor" |
Definition at line 35 of file user_prefs.h.
Referenced by load_mp_file_preferences_options(), and save_mp_file_preferences_options().
#define KN_LDT "List Data Types" |
Definition at line 39 of file user_prefs.h.
Referenced by load_mp_file_preferences_options(), and save_mp_file_preferences_options().
#define KN_LOG_BOX "Log Box" |
Definition at line 36 of file user_prefs.h.
Referenced by load_mp_file_preferences_options(), and save_mp_file_preferences_options().
#define KN_MAIN_DIALOG "Main Dialog" |
Definition at line 37 of file user_prefs.h.
Referenced by load_mp_file_preferences_options(), and save_mp_file_preferences_options().
#define KN_MAIN_PREFS "Main Preferences" |
Definition at line 40 of file user_prefs.h.
Referenced by load_mp_file_preferences_options(), and save_mp_file_preferences_options().
#define KN_PLUGIN_LIST "Plugin List" |
Definition at line 38 of file user_prefs.h.
Referenced by load_mp_file_preferences_options(), and save_mp_file_preferences_options().
#define KN_SAVE_WINDOW_PREFS "Save Window Preferences" |
Definition at line 33 of file user_prefs.h.
Referenced by load_mp_file_preferences_options(), and save_mp_file_preferences_options().
void save_main_preferences | ( | heraia_window_t * | main_window | ) |
Save all preferences to the user preference file
Definition at line 153 of file user_prefs.c.
References heraia_window_t::prefs, save_mp_file_preferences_options(), and save_preferences_to_file().
Referenced by close_heraia(), and pref_window_delete().
void setup_preferences | ( | heraia_window_t * | main_window | ) |
Sets up the preferences as loaded in the preference file
Definition at line 228 of file user_prefs.c.
References load_mp_file_preferences_options().
Referenced by load_heraia_ui().
void verify_preference_file | ( | gchar * | pathname, | |
gchar * | filename | |||
) |
Verify preference file presence and creates it if it does not already exists
Definition at line 82 of file user_prefs.c.
References verify_preference_file_name_presence(), and verify_preference_file_path_presence().
Referenced by heraia_init_main_struct().