diff options
author | Jonathan Kang <jonathan121537@gmail.com> | 2014-11-06 14:11:21 +0800 |
---|---|---|
committer | David King <davidk@gnome.org> | 2014-11-11 12:35:43 +0000 |
commit | afda11b8d616ee84d901e5904435c67131dc3cf5 (patch) | |
tree | 846a0cc5b49e3b5475f2fb5086e230bf02e0e061 /src/gl-categorylist.h | |
parent | b19f65206028ae8b4bb6c89635128d8f12350931 (diff) | |
download | gnome-logs-afda11b8d616ee84d901e5904435c67131dc3cf5.tar.gz |
Hide sidebar while viewing event details
https://bugzilla.gnome.org/show_bug.cgi?id=726228
Diffstat (limited to 'src/gl-categorylist.h')
-rw-r--r-- | src/gl-categorylist.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/gl-categorylist.h b/src/gl-categorylist.h index 3dd8cea..32f3b79 100644 --- a/src/gl-categorylist.h +++ b/src/gl-categorylist.h @@ -35,11 +35,41 @@ typedef struct GtkListBoxClass parent_class; } GlCategoryListClass; +/* + * GlCategoryListFilter: + * @GL_CATEGORY_LIST_FILTER_IMPORTANT: + * @GL_CATEGORY_LIST_FILTER_ALERTS: + * @GL_CATEGORY_LIST_FILTER_STARRED: + * @GL_CATEGORY_LIST_FILTER_ALL: + * @GL_CATEGORY_LIST_FILTER_APPLICATIONS: + * @GL_CATEGORY_LIST_FILTER_SYSTEM: + * @GL_CATEGORY_LIST_FILTER_SECURITY: + * @GL_CATEGORY_LIST_FILTER_HARDWARE: + * @GL_CATEGORY_LIST_FILTER_UPDATES: + * @GL_CATEGORY_LIST_FILTER_USAGE: + * + * The category, selected in #GlCategoryList, to filter the events by. + */ +typedef enum +{ + GL_CATEGORY_LIST_FILTER_IMPORTANT, + GL_CATEGORY_LIST_FILTER_ALERTS, + GL_CATEGORY_LIST_FILTER_STARRED, + GL_CATEGORY_LIST_FILTER_ALL, + GL_CATEGORY_LIST_FILTER_APPLICATIONS, + GL_CATEGORY_LIST_FILTER_SYSTEM, + GL_CATEGORY_LIST_FILTER_SECURITY, + GL_CATEGORY_LIST_FILTER_HARDWARE, + GL_CATEGORY_LIST_FILTER_UPDATES, + GL_CATEGORY_LIST_FILTER_USAGE +} GlCategoryListFilter; + #define GL_TYPE_CATEGORY_LIST (gl_category_list_get_type ()) #define GL_CATEGORY_LIST(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GL_TYPE_CATEGORY_LIST, GlCategoryList)) GType gl_category_list_get_type (void); GtkWidget * gl_category_list_new (void); +GlCategoryListFilter gl_category_list_get_category (GlCategoryList *list); G_END_DECLS |