Rename stash_group_load() -> stash_group_load_from_key_file().
Rename stash_group_save() -> stash_group_save_to_key_file(). git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3415 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
6c60580989
commit
26fc571dcd
@ -1,3 +1,10 @@
|
||||
2008-12-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
|
||||
|
||||
* src/stash.c, src/stash.h, src/keyfile.c:
|
||||
Rename stash_group_load() -> stash_group_load_from_key_file().
|
||||
Rename stash_group_save() -> stash_group_save_to_key_file().
|
||||
|
||||
|
||||
2008-12-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
||||
|
||||
* data/global.tags:
|
||||
|
@ -180,9 +180,9 @@ static void settings_action(GKeyFile *config, SettingAction action)
|
||||
switch (action)
|
||||
{
|
||||
case SETTING_READ:
|
||||
stash_group_load(group, config); break;
|
||||
stash_group_load_from_key_file(group, config); break;
|
||||
case SETTING_WRITE:
|
||||
stash_group_save(group, config); break;
|
||||
stash_group_save_to_key_file(group, config); break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -161,13 +161,13 @@ static void keyfile_action(SettingAction action, GeanyPrefGroup *group, GKeyFile
|
||||
}
|
||||
|
||||
|
||||
void stash_group_load(GeanyPrefGroup *group, GKeyFile *keyfile)
|
||||
void stash_group_load_from_key_file(GeanyPrefGroup *group, GKeyFile *keyfile)
|
||||
{
|
||||
keyfile_action(SETTING_READ, group, keyfile);
|
||||
}
|
||||
|
||||
|
||||
void stash_group_save(GeanyPrefGroup *group, GKeyFile *keyfile)
|
||||
void stash_group_save_to_key_file(GeanyPrefGroup *group, GKeyFile *keyfile)
|
||||
{
|
||||
keyfile_action(SETTING_WRITE, group, keyfile);
|
||||
}
|
||||
@ -240,6 +240,8 @@ void stash_group_add_string(GeanyPrefGroup *group, gchar **setting,
|
||||
}
|
||||
|
||||
|
||||
/* *** GTK-related functions *** */
|
||||
|
||||
static void handle_toggle_button(GtkWidget *widget, gboolean *setting,
|
||||
PrefAction action)
|
||||
{
|
||||
|
@ -50,9 +50,9 @@ void stash_group_add_radio_buttons(GeanyPrefGroup *group, gint *setting,
|
||||
const gchar *key_name, gint default_value,
|
||||
gpointer widget_id, gint enum_id, ...) G_GNUC_NULL_TERMINATED;
|
||||
|
||||
void stash_group_load(GeanyPrefGroup *group, GKeyFile *keyfile);
|
||||
void stash_group_load_from_key_file(GeanyPrefGroup *group, GKeyFile *keyfile);
|
||||
|
||||
void stash_group_save(GeanyPrefGroup *group, GKeyFile *keyfile);
|
||||
void stash_group_save_to_key_file(GeanyPrefGroup *group, GKeyFile *keyfile);
|
||||
|
||||
void stash_group_display(GeanyPrefGroup *group, GtkWidget *owner);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user