diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2011-04-15 15:52:09 +0200 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2011-04-15 15:52:09 +0200 |
commit | 3ebfe02dd9c81b10f47ca258bb2a0ef080dbbbeb (patch) | |
tree | d936b4e68e219e8783e6ac70821da4a9e5a35cd7 /src/gtk-helpers/abrt-keyring.c | |
parent | aa77bb9ee015eace791d5331b5ce5fe9e5e14634 (diff) | |
download | abrt-3ebfe02dd9c81b10f47ca258bb2a0ef080dbbbeb.tar.gz abrt-3ebfe02dd9c81b10f47ca258bb2a0ef080dbbbeb.tar.xz abrt-3ebfe02dd9c81b10f47ca258bb2a0ef080dbbbeb.zip |
Implement the possibility to add text labels to even config GUI. Closes #199.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/gtk-helpers/abrt-keyring.c')
-rw-r--r-- | src/gtk-helpers/abrt-keyring.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gtk-helpers/abrt-keyring.c b/src/gtk-helpers/abrt-keyring.c index c4fbffae..7f01d946 100644 --- a/src/gtk-helpers/abrt-keyring.c +++ b/src/gtk-helpers/abrt-keyring.c @@ -56,7 +56,7 @@ void abrt_keyring_save_settings(const char *event_name) for (l = g_list_first(ec->options); l != NULL; l = g_list_next(l)) { event_option_t *op = (event_option_t *)l->data; - gnome_keyring_attribute_list_append_string(attrs, op->name, op->value); + gnome_keyring_attribute_list_append_string(attrs, op->eo_name, op->eo_value); } GnomeKeyringResult result; @@ -110,9 +110,9 @@ static void abrt_keyring_load_settings(const char *event_name, event_config_t *e event_option_t *option = get_event_option_from_list(name, ec->options); if (option) { - free(option->value); - option->value = xstrdup(g_array_index(attrs, GnomeKeyringAttribute, index).value.string); - VERB2 log("added or replaced in event config:'%s=%s'", name, option->value); + free(option->eo_value); + option->eo_value = xstrdup(g_array_index(attrs, GnomeKeyringAttribute, index).value.string); + VERB2 log("added or replaced in event config:'%s=%s'", name, option->eo_value); } } } |