summaryrefslogtreecommitdiffstats
path: root/src/gtk-helpers/abrt-keyring.c
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2011-04-15 15:52:09 +0200
committerDenys Vlasenko <dvlasenk@redhat.com>2011-04-15 15:52:09 +0200
commit3ebfe02dd9c81b10f47ca258bb2a0ef080dbbbeb (patch)
treed936b4e68e219e8783e6ac70821da4a9e5a35cd7 /src/gtk-helpers/abrt-keyring.c
parentaa77bb9ee015eace791d5331b5ce5fe9e5e14634 (diff)
downloadabrt-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.c8
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);
}
}
}