heraia/trunk/libheraia/user_prefs.c File Reference

#include <libheraia.h>

Include dependency graph for user_prefs.c:

Go to the source code of this file.

Functions

static void verify_preference_file_path_presence (gchar *pathname)
static void verify_preference_file_name_presence (gchar *filename)
static void save_window_preferences (GKeyFile *file, gchar *name, window_prop_t *window_prop)
static void save_mp_file_preferences_options (heraia_window_t *main_window)
void verify_preference_file (gchar *pathname, gchar *filename)
void save_main_preferences (heraia_window_t *main_window)
static void load_window_preferences (GKeyFile *file, gchar *name, window_prop_t *window_prop)
static void load_mp_file_preferences_options (heraia_window_t *main_window)
void setup_preferences (heraia_window_t *main_window)


Function Documentation

static void load_mp_file_preferences_options ( heraia_window_t main_window  )  [static]

static void load_window_preferences ( GKeyFile *  file,
gchar *  name,
window_prop_t window_prop 
) [static]

window preferences

Definition at line 172 of file user_prefs.c.

References window_prop_t::displayed, GN_GLOBAL_PREFS, window_prop_t::x, and window_prop_t::y.

Referenced by load_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().

Here is the call graph for this function:

static void save_mp_file_preferences_options ( heraia_window_t main_window  )  [static]

static void save_window_preferences ( GKeyFile *  file,
gchar *  name,
window_prop_t window_prop 
) [static]

window preferences

Definition at line 93 of file user_prefs.c.

References window_prop_t::displayed, GN_GLOBAL_PREFS, window_prop_t::x, and window_prop_t::y.

Referenced by save_mp_file_preferences_options().

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

static void verify_preference_file_name_presence ( gchar *  filename  )  [static]

Verify preference file's presence

Definition at line 53 of file user_prefs.c.

Referenced by verify_preference_file().

static void verify_preference_file_path_presence ( gchar *  pathname  )  [static]

verify preference file path presence and creates it if it does not already exists

Definition at line 36 of file user_prefs.c.

Referenced by verify_preference_file().


Generated on Sat Jan 17 20:57:51 2009 for Heraia by  doxygen 1.5.6