From 14be10f0582478983c69d567b416621783768c2d Mon Sep 17 00:00:00 2001 From: Jiri Moskovcak Date: Wed, 9 Mar 2011 17:48:48 +0100 Subject: remove some not needed fields from event_config --- src/include/report/event_config.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/include') diff --git a/src/include/report/event_config.h b/src/include/report/event_config.h index e2310885..75fb0c78 100644 --- a/src/include/report/event_config.h +++ b/src/include/report/event_config.h @@ -47,9 +47,9 @@ typedef struct char *value; char *label; option_type_t type; - char *description; //can be used as tooltip in gtk app - char *allowed_value; - int required; + //char *description; //can be used as tooltip in gtk app + //char *allowed_value; + //int required; } event_option_t; event_option_t *new_event_option(void); @@ -58,10 +58,10 @@ void free_event_option(event_option_t *p); //structure to hold the option data typedef struct { - char *name; //name of the event "Bugzilla" "RedHat Support Uploader" - char *title; //window title - not used right now, maybe the "name" is enough? - char *action;//action description to show in gui like: Upload report to the Red Hat bugzilla" - char *description; + char *screen_name; //name of the event "Bugzilla" "RedHat Support Uploader" + //char *title; //window title - not used right now, maybe the "name" is enough? + //char *action;//action description to show in gui like: Upload report to the Red Hat bugzilla" + char *description; // "Report to ...."/"Save to file" GList *options; } event_config_t; @@ -75,7 +75,7 @@ void load_event_description_from_file(event_config_t *event_config, const char* void load_event_config_data(void); /* Frees all loaded data */ void free_event_config_data(void); -event_config_t *get_event_config(const char *name); +event_config_t *get_event_config(const char *event_name); extern GHashTable *g_event_config_list; // for iterating through entire list of all loaded configs -- cgit